Consumers if the goal is to reduce consumption. If you tax producers, it can have the effect of driving out smaller operators with lower margins and reduce the effectiveness of the tax by allowing larger producers to offset some of the tax due to less competition. By taxing consumers you can reduce the incentives to cut costs and consolidate at the producer level