Because on the North and South of Egypt they had boats on the Nile River and there were no major rivers flowing east to west.
Ancient Egyptians preferred traveling north and south along the Nile River due to its navigable waters, the absence of significant rivers flowing east and west, and favorable prevailing winds. The harsh desert terrain in the east-west directions added to the challenges of travel in those areas. Settlement patterns along the Nile also enhanced its importance for trade and agriculture.
;