A century ago it was the lure of work that drew people from rural areas and far away countries to American cities. The big cities had jobs. Unlike rural areas, they had such high concentrations of them that if you moved there, then you might be able move from job to job without having to turn hobo and travel to find work. The big city offered workers to employers and employment to workers.
That arrangement worked when cities were places where things were made. A century ago the New York City waterfront was crowded with ships bringing in cargoes. During WW2, it was filled with entire fleets that were being constructed there. Today the river traffic consists of tour boats or pleasure craft, supplemented by the occasional EPA ship hunting for pollution in the river.