The high cost of living in California has almost nothing to do with liberal politics or whatever you're trying to insinuate.
If anything you could argue that's an anti-liberal attitude. It's great the Bay Area is so tolerant of different folks. Except that doesn't help out the black transgender teenager from Mississippi who can't move there, because he's priced out of even the lowest-end apartment. All because some millionaire home owners don't want to see their property values appreciate at a slightly lower rate.
It has a lot to do with economic success and the wealth produced thereby. The extent that has to do with the distinctive local politics of the state is another argument.