Earlier quoted context omitted.
> protected installations (such as residential areas or even hospitals) lose their protection if they are being abused by a warring party for military operations You should maybe research where key millitary apparatus of the Israeli state is located. The headquarters of the IDF for example.
I am familiar with IDF headquarters, they are located in a clearly marked base, you can see it on Google Maps. This is similar to French army's Hexagone Balard in Paris or the Italian and Dutch armies HQ for example, from a cursory search, ask your local LLM for more. Can you say the same about Hamas?
The arguments you are using for attacking Palestinian infastructure and people are more than applicable to Israeli infastructure and population.
In international law people have the right to resist occupation through millitary means. In a small area under occupation then there is no means to create a millitary setup that matches what the 'good guys' consider to be legitimate.
If you want to be consistent then allow Palestinians to have a millitary, air space, airports, ports, navy, jets, nuclear weapons etc. And then you can fight them on equal terms.