Rising crude oil prices and increased gasoline demand early in 2022 contributed to rising U.S. retail gasoline prices in the summer, but gasoline prices ended 2022 lower than at the start of the year because of more refinery production and less demand during the second half of the year.