Gaza is far too dangerous for Israelis for any of them to have a job there. If there were any Israelis in Gaza right now do you think they'd be wandering at liberty? If there were any Israelis in Gaza do you think an ankle-tag would be their biggest problem?
Countries involved in an existential war with a neighbouring territory tend not to let enemy aliens from that territory roam at will. Well, not unless they are being led by people who are suicidal or crazy. During WWII we interned enemy aliens even if they actually lived here and regardless of their identity. Israel is currently investigating the very serious possibility that Palestinian workers scouted, spied and smuggled for Hamas. Briefly detaining these workers was a sweeping measure but, given the dire emergency that Israel was plunged into on October 7th, leaving them at liberty would have defied all sense and precaution.
Why do people always expect Israelis to behave in a self-defeating, suicidal manner? Why is conduct that is commonplace and sensible in war always considered criminal in Israelis?