President Trump said there would be “very serious retaliation” for the attack, which also killed an American interpreter.