Many of those amenities are not as relevant when you're older. Easy access to bars, restaurants, and clubs is not as important as a larger home and good school districts when you're a parent, for example. Access to things like healthcare, grocery stores, and target are not any more difficult and often easier to access in suburbs.
Basically, people's priorities change and the optimal living situation changes accordingly. On average, that is, I'm sure some people prefer city life into later adulthood, and some young people like suburbs.
This point seems to be mostly American and a result of how schools get financed in the US and not inherent to cities. Schools being financed by very small areas they are located in is exacerbating the divide between poor and wealthy neighborhoods for no real reason. In contrast, when I grew up in Germany, kids had to commute from the suburbs and villages to the city to attend a really good school.
Kids. You will value space much more than you value proximity to restaurants.
Also, the amenities available in a city are quite limited as you age out of your 20s. Food and necessities become a much smaller share of what you are purchasing. Eventually you want access to tools and hobby supplies and home goods - stuff that is logistically not hauled into big cities but dropped off in the suburbs.
One reason is that you have kids and you want to have more space. Also, your cost of living goes up because you need more resources for a larger family. You might spend more on education, food, vacations, and so want to reduce rents or mortgages. You can do all that stuff in any big city, many do. But kids are common reason to move out of a city center.
I would agree in principle, but from experience it seems people are less interested in the energy of the city as they age and acquire more things, and prioritize building their own space around them instead of utilizing the city around them.
Bingo. To someone like me, the "energy of the city" is a severe down-side. I don't want "energy" in my life. I don't care about "amenities". I don't want to hear my neighbors music, or smell their cooking, or deal with their drama. Where I live now, working from home, I could go an entire week without seeing another living soul, and it's wonderful. I value the ability to sit on my porch with a beer, hear nothing but birds and crickets and the stream behind my property gurgling away, smell nothing but the trees, and see nothing but the sunset.
Because the amenities you value change over time. There’s very little I want or need in the city any more. Plus these days, lots of amenities will come to you.
If the car companies manage to get level 5 self driving working well, I’ll move even further out of the city.
People don't value all amenities equally, and as people age, their personal amenity-valuations change, often in stepwise ways. For example, prior to having a school-aged child, an individual might value good-elementary-school-access very little, but if they have a child, their valuation of that amenity will likely rise sharply within a few time-needed-to-move units of their kid being school-aged.
Basically, people's priorities change and the optimal living situation changes accordingly. On average, that is, I'm sure some people prefer city life into later adulthood, and some young people like suburbs.