You make very good points. But in all fairness, the Achilles heel of Hamas in this matter stems from the fact that they do not have the resources or access (blockade, etc.) to compete in technological adaptation, so the enthusiasm is all they have. It is not difficult to imagine Israel gathering intelligence in Gaza, a place under their watch and their eyes.
The most impressive thing in my opinion is the Israeli intelligence and espionage capabilities in Iran. They stole the Iranian nuclear archives and smuggled an explosive device to the Iranian Natanz enrichment facility under strict security measures, all of them we will In the heart of Iran. This impresses me a lot to be honest. Iran is a very large country, relatively far from Israel, and a very tight security country.