Hamas did not attack ancient Israel. Hamas attacked Israel the nation-state, established 1947 by the United Stations, which partitioned the land, and formalized in 1948. You can toss any artifact into the mix, and it doesn't change the fact.
Israel as a group of jews wandering in the desert is not the same as Israel nation-state, which has been attacked. Israel will not be responding to wrongs that may have been perpetrated by egyptian leaders thousands of years ago, but you can bet that the IDF and the Israeli government is responding to the assault by Hamas in real time.