Israel has killed the military leader of Hamas in Gaza, prompting a response from the main leader of Hezbollah.