Production of gasoline decreased early in the pandemic when many Americans were staying home. It didn't come back fast when people took to the roads in large numbers. That shortage of supply is one reason why prices rose even before the Russian invasion of Ukraine sent oil prices soaring.