A 42% surge in gasoline prices account for the majority of the higher costs that consumers faced last month compared to May 2025.