It was literally a trope.
In all movies...
Free and cool California versus all the inbred idiot hicks in flyover country.
All the “Free and cool” people went there.
That’s part of it, but also the mass influx of illegal aliens played a big part as well. Don’t think that Ca. doesn’t allow illegals to vote in their elections and even national elections. Because they own the government through & through there.