The inflation was obviously mostly due to Covid and the invasion of Ukraine. Gas prices reached their highest points in 2022.
https://www.gasbuddy.com/charts