Last year Hamas fought a 50 day war against Israel. Despite taking massive losses due to Israeli airstrikes and shelling, the group still managed to put up stiff resistance to the IDF, killing at least 50 of its soldiers. As well, it managed to shut down much of central and southern Israel with its constant missile barrages, despite them causing relatively little real damage. All up however, the war was a defeat for Hamas, with much of its materiel expended and thousands of lives lost, for little real gain. However, while these losses for Hamas have hurt the organisation, it now faces a more existential threat: Egypt.
Since the counter-revolution led by current Egyptian leader Abdul Fattah Al-Sisi against the Muslim Brotherhood (MB) government of Mohammed Morsi, the country has a faced an ever worsening crisis of relations with its neighbours. This has been exacerbated by the conflicts currently being fought in Libya and the Sinai, which Egypt believes are being fueled by pro-MB governments such as Qatar and Turkey.