Anyone know why diesel costs more per gallon that gas?

I thought diesel required less refinement than gas, thus costing less to deliver to the pump?