Because it's like 1000x more efficient to move stuff on water vs land, so industrial cities clustered around ports and rivers since it's way easier to move stuff around.