We refine more crude oil in the US than we use ourselves. The cases of exporting oil are essential all to the closest Canadian Refinery, where we often get the refined products back. We don't have a shortage of refineries, we have a shortage of domestic oil production, but it is getting better.
All I know is that where I live, we were paying $4.30 a gallon for a few weeks because of two refinery shutdowns that happened at the same time.
I favor expansion of production to meet our own needs domestically, and construction of refineries to handle production domestically. In short, something approaching an actual energy policy instead of what we’ve had for the last forty years.