President Trump’s war is the latest campaign that has drained missile stockpiles and stretched American forces thin.