I'm not sure I understand what you're saying.
I once read and ended up agreeing with a claim that people who live in frontier areas end up having to develop a somewhat eccentrical (if necessary) set of values, one that has to allow for a combative mindset that is ready to scare away and if necessary kill potential invaders.
That may seem obvious once you think of it. But it took me quite a while to do so. Of course, I am dumb and that explains it, but let's not wander away from the subject matter.
What may not be too obvious either is that frontier people (and those who have close contact and familiarity with their values) may also at least conceivably have a hard time reminding themselves that there it is not only the day-to-day routine that is different, but also the moral priorities.
I have no doubt that
some degree of ignorance of the actual needs of military defense and resulting lacks of choice is at play here. And I am fairly certain that such ignorance involves the needs of both sides as well.
Also, as you have just reminded me, it is a potentially very dangerous oversimplification to equate Gazans with Hamas terrorists, or even actual Gazan intentional launching of all too lethal missiles towards Israel with Hamas-approved, planned hostilities. Undefensable as Hamas-motivated violence may be, it is hardly the one and only motivator of violence and terrorism in Gazas. I suspect it may well fail to be even the most rabid one. For that matter, I'm not sure the violent groups are even clearly defined and well organized. I suspect that they are not.