The zoning laws aren't a product of government-en-vacuuo, however.
They're the result of moneied interests, most especially real estate and banking interests, constraining supply.
Government is the mechanism through which they act, not the source of the problem itself.