We've had periods where the cost of oil was higher than it is now and inflation was a fraction of its current rate. The causes of inflation are more complex then you realize.
Of course - inflation is a complex multi-variable equation. I have dealt with complex things all my life.
But we know that a doubling of gasoline in a short period of time by itself will cause inflation as it infects the whole supply chain. There are many root causes at play but Biden’s regulations shoulder much of the blame.