There is a finite amount of money.
If you bomb your capacity to produce oil and consumers must pay more for oil that money comes from elsewhere i.e less video games. That is simply a price increase not inflation. It would like confusing the weather and climate. Inflation is defined as the "general increase in prices".
If you add money to the existing finite amount of money you get inflation.