While government spending re-allocates and distorts resources, it is not necessarily inflationary. Inflation really just stems from money creation and fractional-reserve lending carryied out by central banks and private banks — thus creating money "out of thin air."