California used to host a number of conventional energy companies. They were a core industry that helped make California the vibrant economy that led the nation. They still have Chevron but everybody else seems to have decamped.
The reasons are varied. The culture shifted decisively against petroleum and that's manifested in a number of ways to make oil executives feel unwanted, ostracized, and hated. The business climate is making everybody take a look at departing from California and plenty of other states with a rich oil tradition are more than happy to facilitate a move to their own oil centers. There doesn't seem to be any particular reason to fight to stay in California and a growing number of reasons not to.