Which inflation measure are you referring to? Because of course petrolium products directly (gas, heating) and indirectly (cost of shipping) contribute to the effective price of most consumer baskets.
In other words, this might be true because the “inflation-rate“ was high, but it was high because the cost of oil went up.
I think we are likely to see really low oil prices in the future, for a while. Electrification of transportation is proceeding so quickly in some regions that demand is falling for oil.
In other words, this might be true because the “inflation-rate“ was high, but it was high because the cost of oil went up.