Gas and diesel are refined in tandem. Banning diesel exports will initially create a glut of diesel, the intended effect. Refineries will respond by cutting production, which also cuts the supply of gas, raising gas prices. So the first result is that the price people pay more attention to goes up.