The rise in prices (inflation) is caused by government overspending, which increases the amount of money faster than the increase in goods & services output. That is the vast majority of the problem. Inflation was particularly bad during the Covid years, as there was massive government spending, despite productivity plunging, as people were forced to stay home.