There is no "war" in Gaza there is only a genocide in Gaza. Even the nomer "Hamas" is wrong because there are multiple Palestinian resistance factions. The military wing of Hamas is called "Qassam Brigades". They are not an official Palestinian army but one resistance group.
In fact Hamas has suggested disbanding Qassam Brigades in exchange for Palestinian statehood deal based on 1948 borders and then Qassam Brigades would merge into the Palestinian army.