Burning through munitions to support wars in Ukraine and Iran, Pentagon officials have made deals with foreign partners and adapted to emerging threats in an effort to ramp up U.S.munitions production and build up stockpiles.