Israel is carrying out strikes as it loses patience with Hezbollah and Hamas’s resistance to disarming.