WASHINGTON — The war in Ukraine has depleted American stocks of some types of ammunition and the Pentagon has been slow to replenish its arsenal, sparking concerns among U.S. officials that American military readiness could be jeopardized by the shortage.