The Defense Department said the Taliban’s growing control over Afghanistan is “deeply concerning,” and was a big factor in the decision to deploy troops.