"Inflation" is an average of several things. Actual inflation doesn't have to be even across all items. Groceries went up more than other things.
Edit: some examples https://www.ers.usda.gov/data-products/food-price-outlook/su... Retail egg prices went up 38% from July 2021 to July 2022.