For example zoning keeps industry away from residential, preventing disasters like the West Texas Fertilizer explosion.
Reformulate the question: why do people tolerate living in dense tiny apartments, without easy access to necessities like childcare and grocery stores?