Not enough refining capacity
The US refines more crude oil than we use ourselves. We import a bit more than we need and export the higher value surplus products.
That keeps more jobs and refining capacity in the US and helps the trade balance.
The multitude of different gasoline recipes limits the ability for product to be moved around to meet localized shortages due to an upset in production/transportation, etc.