A big part of the reason that California average electrical price per kWh is high is that a huge portion of the cost is fixed costs, and California's efficiency push has resulted in the lowest lowest per capita electricity usage (and fourth lowest per capita energy usage) in the USA, so the fixed costs are spread over fewer kWh.
Conversely, Texas has significantly above average use per capita, spreading the fixed costs across more kWh, but still results in higher annual costs per capita, despite lower per kWh rates.