Is that really true?
In the past decades, we really had two options to reduce CO2: massive decrease in standard of living; or massive switch to non-carbon energy -- the only one we had the tech for it nuclear (and even then, I don't think we had the battery tech to move to electric vehicles until recently).
Very few voters would have chosen a massive decrease in standard of living. Though many voters/activists rejected nuclear power.
Now we have solar, wind and battery tech that allows us to move away from carbon-based energy. But that adoption has slowed. Partly because the US has been drilling oil like crazy -- both to reduce inflation and to counter Russia. (And, arguably, driving a Tesla has suddenly become less fashionable since Elon has gone to the Right.)