The standoff comes as Israel’s war with Lebanon’s Hezbollah, a Hamas ally backed by Iran, has intensified in recent weeks.