The average price of gas across the U.S. last reached $4 after Russia's invasion of Ukraine sent crude oil prices surging.