BEIRUT — A United States envoy said an agreement to end the Israel-Hezbollah war is “within our grasp” after talks in Lebanon on Tuesday.

However, there was no such optimism in the Gaza Strip, where the looting of nearly 100 aid trucks by armed men worsened an already severe food crisis.

Amos Hochstein, the Biden administration’s point man on Israel and Lebanon, arrived as Hezbollah’s allies in the Lebanese government said it had responded positively to the proposal, which would entail both the militants and Israeli ground forces withdrawing from a U.N. buffer zone in southern Lebanon.

The buffer zone would be policed by thousands of additional U.N. peacekeepers and Lebanese troops. Israel has called for a stronger enforcement mechanism, potentially including the ability to operate against any Hezbollah threats, something Lebanon is likely to oppose.

An Israeli airstrike Tuesday hit a Lebanese army center in the southern town of Sarafand, killing three soldiers, the army said — the second deadly strike on Lebanese soldiers in as many days. There was no immediate comment by the Israeli military. At least 38 soldiers have been killed by Israeli bombardment the past month, according to the Lebanese army.

Hochstein said he had held “very constructive talks” with Lebanon’s Parliament Speaker Nabih Berri, an ally of Hezbollah who is mediating on the group’s behalf.

Berri said the “situation is good in principle,” though some unresolved technical details remain. The Lebanese side was waiting to hear the results of Hochstein’s talks with Israeli officials, he told the Asharq al-Awsat newspaper.

The theft in Gaza over the weekend of nearly 100 trucks loaded with food and other humanitarian aid sent prices soaring and caused shortages in central Gaza, where most of the population of 2.3 million people have fled.

Experts say famine may already have set in in the north, where Israel has been waging a weekslong offensive that has killed hundreds of people and driven tens of thousands from their homes.

On Monday, a crowd waited outside a shuttered bakery in the central city of Deir al-Balah. A woman who had been displaced from Gaza City, identifying herself as Umm Shadi, said the price of flour had climbed to over $100 a bag, if it could even be found.

The United Nations said armed men stole food and other aid from 98 trucks over the weekend, the largest incident of its kind since the war began. It did not say who was behind the theft.

Israel accuses criminal gangs and Hamas of stealing aid, allegations denied by the militant group.

Bassem Naim, a senior Hamas official based abroad, said the looters were young men from local Bedouin tribes, emphasizing that they do not necessarily represent the tribes.

The Hamas-run government had a police force of tens of thousands that maintained public security before the war, but they have vanished in many areas after being targeted by Israeli strikes.