California's problems are the result of years of zoning codes not allowing needed building. (prop 13 doesn't help either) This is simple supply and demand, when you don't allow supply to change (building more suburbs on the outskirts does not count - distance becomes a factor)
(Note, between the time I wrote the earlier comment and this I discovered new information on California's homeless situation - shelters near me the homeless are either mentally ill or victims of domestic violence - the first are forever a problem and the latter will be out in a couple weeks)