The strike on the territory of a US ally marked a significant escalation and risked upending talks aimed at winding down the war in Gaza.