Earlier quoted context omitted.
Distributing the revenue is not about compensating for harms. It's about ensuring that you don't have a net impact on people who are using the typical amount of energy. The idea is that the tax captures the externalized costs of economic actions, like emitting carbon. Once the cost of the actions is fully priced in, it is reasoned, consumption will decrease to the optimal level given the harm done by consumption. The…
You're right that you don't need to compensate for harms with such a tax (so my first sentence was imprecise). But I also don't see what's wrong with attempting to distribute (some of) the revenue in such a way to compensate for harms.
It becomes a big political fight over how much of the revenue should be directed to social programs, so the tax policy changes every 4 years. A straight rebate gets wide support and taking it away becomes more and more unpopular as people get used to receiving it.