The United States vowed to take “all necessary actions” to defend American forces after a drone attack killed three US troops in Jordan, while Qatar said it hoped US retaliation would not damage regional security or undercut progress toward a new Gaza hostage-release deal.