It's a bit circular to refer to it as personally painful measures though, and that seems to be a regular trope.
Carbon taxes etc., are fairly subtle and boring technocratic method to achieve a goal. The reaction to them is almost entirely based on false impressions, a nested series of false impressions actually. There is no problem, there is no solution, this solution would make things worse, this solution would hurt me personally. this solution is just a scam and so on.
"I don't want to do the thing that economists say is most efficient, because it would be painful" as a democratic opinion doesn't really make any sense. If it's efficient then you can use the efficiency gains to compensate anyone who loses out.
And then that deliberately misinformed reaction is somehow raised as yet another reason for not doing the most sensible thing, and to talk about how "painful" it would be to stop polluting and incentivize efficiency.
And the only reason we appear to need to talk about what people want in this weird, third-hand, circular way, is that if you actually ask people what they want, then they say they want to address climate change. And since that answer isn't acceptable to some people, they need to come up with elaborate ways to prove that people don't actually want what they say they want, and that economists say is the best thing to do.