This is a great observation, if a problem is occurring all over the place maybe the solution isn't simple.
The cool stuff in these cities is highly centralized and just building more housing a little further out doesn't spread it automatically.
If you build a high rise apartment tower in Yonkers it might not sell. Move much loser to Manhattan and you run into all the problems of building in an area that's already pretty dense.
Maybe cities are just more productive economically, so people earn more, so they can pay more.
I think where having more housing helps though is making your city more diverse. If you have fancy housing for doctors and grungy housing for artists, your city will have a better art scene than if you only have fancy housing.
If you're in a city that's doing well, you have a lot of residents with money to spend. Enough to incentivize a lot of development aimed at those residents. But that jut further chokes out anything that would only serve those with incomes in the lowest percentiles.
Building housing helps, certainly, but there's a differnence between "building housing that keeps the growth engine running" and "building housing that keeps the bottom-tier population served and keeps people from being pushed into homelessness" (especially when redevelopment is financially most practical in cheaper parts of town which can cause more displacement of more economically precarious people - replacing that grungy housing, for instance), and I don't think market-based approaches will ever be enough since the financial incentives to serve the bottom of the market naturally are much smaller than to serve the middle or the top. And I think this is demonstrated by how the densest first-world-cities across the world often have affordability issues.
Grungy housing was new fancy housing - decades ago.
I guess if the government is willing to build Soviet style grey blocks then you can have new but modest, relatively cheap housing.
Some physical factors that might matter are underlying land value, single stair laws and similar things making building layout worse, how many 1br vs 3br units there are… not whether it looks old or not though.
You can't identify affordable (subsidized) housing from the outside in cities where it exists.
But the "just build more" path of least resistance is to bulldoze today's grungy housing to build tomorrow's new housing, and most of the time that doesn't make it easy for the existing displaced residents find enough replacement grungy housing at rates they can afford.
So I think there needs to be something more than just laissez-faire building.
Although if they were homeowners before, they probably didn't mind selling their house, seeing as they did it.
Ok. So why does that happen? It happens basically everywhere in the world: the dense cities are more in demand and more expensive than the middle of nowhere.
If nobody can build "enough housing" in their cities, to make their cities as cheap as their rural land, I think that tells us something. We can' simply take demand entirely out of the picture, since adding more supply is both (a) a lagging process and (b) a process that itself helps promote more demand by necessitating more service business, more jobs at those businesses, etc. I.e., if you make the land more attractive to everyone, everyone who wants to use that land for their business or residence has more competition for securing a spot on it.