Two big drivers of food inflation, in the UK at least, are the spike in demand for goods as bars and restaurants reopen, and the fallout from Brexit, which has caused shortages of workers on farms and in warehouses and food processing centres, and hindered the flow of goods into the country.
From the ONS:
On a monthly basis, CPIH rose by 0.5% in May 2021, compared with little change in May 2020.
Rising prices for clothing, motor fuel, recreational goods (particularly games and recording media), and meals and drinks consumed out resulted in the largest upward contributions to the change in the CPIH 12-month inflation rate between April and May 2021.
These were partially offset by a large downward contribution from food and non-alcoholic beverages, where prices fell this year but rose a year ago, particularly for bread and cereals.