Gas prices also vary from state to state for several reasons. Taxes are probably the biggest factor in the different prices around the country. Additionally, competition among local gas stations can drive prices down. Distance from the oil refineries can also affect prices -- stations closer to the Gulf of Mexico, where many oil refineries are located, have lower gas prices due to lower transportation costs. There are also some regional factors that can affect prices.
If'n I had to guess, it would be that the cost of refining diesel from the crude oil is represented elsewhere. The fractional distillation of crude oil is done in such a way that the products condensate at different levels of the distillation tower. There is not much in the way of gasoline that comes from the initial distillation (roughly 20% of the total gasoline extracted), and what there is is not very high in octane (mid 30's). The high octane modern fuels require further refining processes, a combination of catalytic reforming and catalytic cracking, to achieve, and thus are more expensive to refine than diesel is as diesel and other fuel oils mostly result from the initial distillation process.