Gasoline prices vary all over the place, and there's a heluva lot of expensive infrastructure for it.
Electricity is different from gasoline since it can’t be easily stored production and consumption are always perfectly in balance.
Gasoline is a world wide commodity, whereas electricity is consumed relatively close to where it is generated.
Oil and gasoline are global markets, but there are many regional electricity markets with their own sets of regulations which are constantly evolving.
From what I’ve seen The only way people sink money in to building electrical infrastructure is with some long term certainty for prices from some buyer. Maybe it is different once the asset is paid off you can operate in the spot market but I believe financiers prefer the certainty of a fixed contract.
Maybe refineries that are built find a buyer for their product before they build them too?
I doubt this would happen a second time, as people wise up. They'll either monitor the electricity prices, or put automatic shutoffs in place if the price exceeds $xx.
> long term certainty
Higher levels of risk simply mean higher prices.
I am sure the variable rates helped to incentivize people to conserve electricity in Texas recently but that is an extreme case.
Electricity infrastructure is capital intensive and long term stable rates are required to finance it.