I wouldn’t make a comparison to nazi Germany, that’s a bit cheap. A more accurate point is that they are trying to build industry in an active war zone. Yeah, good luck.
I would recommend reading the Hamas charter. Not the revised one circa 2017, which softens the language, but the original charter circa 1987, which was in place when they were democratically elected by the Palestinian people in 2006.
an active war zone that happens to be home to a couple million people. why not tech, what else should they do for work? programming seems like a good fit, since you don't need heavy equipment that could be blockaded or blown up, or crops that could be razed. I'm honestly impressed that people are still trying to work despite running low on generator fuel and fleeing several air strikes a day.
I’m not claiming they have a better option, just the reality of the situation. Ideally they could work on some peaceful compromise to end the conflict, but perhaps they will have
more luck trying to start a tech unicorn than achieve peace with Israel.