The Geneva Convention relative to the Protection of Civilian Persons in Time of War covers the status of persons occupied by a foreign power by applying certain of the paragraphs to such persons.
If one reads the relevant text, a fair analogy is such persons are in legal terms in the custody of the occupying power. Acts of violence by occupied persons are not protected although "other acts" harming the occupation but not of a violent nature are to punished proportionately.
Custody is not just incarceration but constitutes some degree of arbitrary control over the persons in custody by the custodians. If one looks at the various provisions, it seems clear some of the Israeli actions have been illegal under the Convention but there are broad loopholes for violence so I am not sure many of the actions people have objected to would not be legally supportable if litigated.
Again, I am not making these observations as an Israeli apologist or hawk but to point out the status of Palestinians is most akin to being in the custody of the Israelis and not the status as an independent power. That could only occur when hostilities cease by treaty and that has not happened yet. This actual status gives Israel flexibility and allows little for Palestinians in the occupied areas.
Again, the Palestinians are, IMHO, cutting off their nose to spite their faces, acting irresponsibly in continuing to hold their population in a status of custody, and acting irresponsibly in not negotiating a treaty as have occupied persons invariably done before. And it is further irresponsible to think the defeated should dictate the text of the treaty. Continuing to take such an irresponsible position dooms the Palestinians and Israelis to more unnecessary pain. If the Germans or the Japanese had fought the US occupation and declined to enter treaties they would still be occupied and in the custody of the Allies.

