Israel has blockaded the Palestinian territory for three years , after the militant group Hamas seized power from the moderate government .