The preference for commercial zoning is a quirk of California law. California cities are allowed to tax people based on where they work, but not where they sleep. Payroll taxes are fine but income taxes are forbidden by state law.