Since the 1970s, America shifted from being an oil producer to being an importer of oil.