The refiners are running out of crude. Having more refiners wouldn’t solve the problem.
California has 1.7 billion barrels of proven reserves [1] and imports 373 million barrels a year [2]. That's 5 years of imports in the ground. (At current rates, California depletes its proven reserves in 2040.)
[1] https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=PET&s=R...
[2] https://www.energy.ca.gov/data-reports/energy-almanac/califo...
Solar panels are made in factories where energy and inputs are cheaper and then shipped on diesel cargo ships to the rest of the world.
Our cars run on gas, so we need new electric ones, but the ships and car carriers are themselves… not electric yet.
Because energy is more expensive, everything is more expensive, including electrification.