Rivers do not follow cardinal directions by design. They flow downhill—from higher elevations to lower ones—following the path of least resistance dictated by the landscape’s shape.
A river may run east, west, north, south, or meander in all directions depending on the terrain. The Mississippi flows south; the Nile flows north; the Hudson flows south then north near its mouth. Direction is a consequence of geology, not a rule.