There's been an active debate over how government spending contributes to inflation, especially in thee years since the COVID pandemic.