The root cause is lack of housing. California has not built enough housing for generations, so we don't have enough housing for people with jobs much less those on the fringe. By far the biggest cost of living in California is the price we pay to sleep. Providing a safe location with a roof over your head is extremely expensive because we simply don't have enough housing to go around.