In addition to other sources, pretty sure massive government programs pumping money into economy does have an impact.
It does. It creates demand for goods and services. Under normal circumstances, this creates jobs to provide those goods and services. Expansion of low income refundable tax credits drove economic growth during the Reagan and Clinton years.
Inflation starting falling during Reagan's first term and kept falling until the covid recovery bottlenecks. It fell despite massive government spending and QE after the Great Recession of 2007 and 2008.
Republicans are ecstatic that inflation finally coincided with deficit spending.
Still, coincidence does not prove causation.