It is because ease of access to trading ports via the water. Most of the industrialized nations that have a prosperous city on the coastal fronts, is because it typically is a port for trading for the purpose of profit. most of the inland products end up at these city ports for export. The most money is made from exports of goods rather than internal consumption of those products, thus the cities that trade these goods are typically the most weathiest.