Inflation is actually very simple: More money is added to the system than value produced. That is, money is printed faster than value is created through labor. Stop and think for a second. How do we have trillions of USD? Banks create money. And they're doing it faster than ever before.
Now you can absolutely have price gouging at the same time, but the two are independent of each other, even though combined the affects are worse for the price gouged.
So the government is pumping money, but is not getting the desired signal, so it pumps more money.
So there's another reason to replace welfare with UBI. Seems every discussion leads to that these days.
Of course this kind of inflation should be fought by competition, but you have to have companies actually willing to compete on price.
It's the reason why most central banks really want some minimal level of inflation going on at all times.