The Lebanese militant group’s attacks have caught Israelis off guard, forcing its political and military leaders to scramble for solutions.