It wasn't from Gaza. Are you colossally stupid?
Surely you jest.
From the same article:
"Another military spokesman, Eytan Buchman, said the men entered Israel at Har Harif, about halfway between Eilat and the Rafah crossing between Egypt and the Gaza Strip, through one of the last parts of the 150-mile fence Israel has been building since 2010. The soldiers they attacked were providing water to African migrants stopped at the border, military officials said, though another nearby unit quickly engaged the men.
Mr. Buchman said it was
unclear whether the men originated from Sinai or Gaza.
The border breach came six weeks after a bloody attack close to Rafah in which militants stormed an Egyptian checkpoint, killing 16 soldiers, then drove a stolen truck through the fence, before driving a stolen armored car about one mile into Israel."