We are also a net exporter because refiners don’t want to keep dancing to the EPA’s boutique gasoline stupidity and instead refine fuels to the standards of, and for sale into, other markets outside the US.
Which makes more production sense - making a run of 1 million barrels formulated to one standard (for sale outside the US) or 20 lots of 50,000 barrels, each lot being slightly different but which can only be sold in a specific market, and of which each time you change formulas for a specific lot you have to shut down at least partially, thus greatly slowing your production and increasing your cost?
That is not the reason for the export, as they are still supply that domestic market as well.