It is a classic cooperation problem. Perhaps not prisoners dilemma. Perhaps not at individual scale. Probably tragedy of the commons.
Cooperation is not consuming fossil fuels. Defection is consuming fossil fuels.
If you cooperate and other defects you suffer climate impact and expensive energy (expensive everything, worse economic growth than others).
If you defect and other cooperates you suffer climate impact but at least you get cheap energy (cheap everything, more economic growth than others).
People, nations, corporations, etc don’t stop using fossil fuels because they incur a penalty against their competitors if they volunteer to and their competitors don’t.