Ever heard about Milton Friedman, the top liberal economist enumerated in one row with Rand, Mises, Hayek?
Well this is him advocating for carbon tax in 1979.
The problem was not really with Friedman or Hayek, who applied liberal economics to social challenges in quite a pragmatic way (it was Rand and Mises who were indeed dogmatic), it's a problem with today's left and right who never read neither Friedman, nor Marx, and know both from summaries written by demagogues similar to themselves.