It's much more appealing to get to the street and walk when you have 4 cafes, a theater, two libraries and a gym in a 10 minute radius than when you just get to walk next to lawns for an hour.
And there's a point to be made for the added friction of a small home. The more self sufficient your house is the harder it is to convince yourself to get out.
Sometimes I don't want to have a conversation with my neighbor who I really don't have anything in common with except they live next door.
In a big city you can find people that are exactly your tribe or explore a new one.
The suburbs were soul sucking to me, the people were largely insufferable. I knew my neighbors, but hated them because 90% of our conversations were some form of “I noticed your grass wasn’t cut this week” or “your cans sat on the curb until the morning”. There were some good ones, but like me they mostly hid in their back yard to avoid the Karen’s.