This comment is conveniently forgetting that Utah taxes gas. In fact, one of the ballot items was the increase this tax.
For example, you can make electric cars more appealing by increaing the tax on gas.
Where things get ugly is when the incentives are in conflict. Again, oil is subsidized and then taxed. Big Oil wins. Gov wins. Consumers - who pay the subsidy and the tax - lose.
They encourage different short term effects but they're both contributing to the same effect.
All that said, the subsidies in this case far outweighed the effect the tax would have had.