I don’t believe the „over heating“ part of this message. I think it’s rather the „lack of“ explanation. Lack of needed imports, lack of labor force (men going into war), lack of civil production at all, …
When a country changes its economy to war-economy, inflation often shows up.