This is one aspect of the whole conflict that has always seriously irked me.
The West effectively treats Israel as if it were the legal guardian of the Palestinians: Israel controls the entire territory, controls the tax revenue, population registry, borders, airspace, energy and water supply, can precisely restrict what (is allowed to) go in and out, can construct or demolish buildings at will, can arrest people at will, or even shoot them, can arbitrarily set the rules for court proceedings, etc. Western and neighbor countries fully support this view, to the point where, if Palestinians import or export goods into their own territories without Israel's authorisation, this is called "smuggling".
Yet at the same time, Israel seems to have no obligation to actually consider or represent the interests of the Palestinians: They are not allowed to vote in Israeli elections; they don't have any representation in the Knesset; laws can be passed that arbitrarily disadvantage them without loss of democratic status; Israeli politicians openly call the Palestinians "our bitter enemies".
In any situation where any individual person were the legal guardian of another person and at the same time called them "their bitter enemy", we'd be deeply alarmed and suspect an abusive relationship. Yet in the case of Israel and the Palestinians, that's "how things are supposed to be" and everyone who tries to change that status quo is the problem.
This feels extremely wrong to me.
(The UN is clearer here: They give Israel the specific legal role of "occupation force" and point to various obligations towards the occupied population that come with that role. However, the western countries somehow both deny that any occupation even takes place and demand that Israel must continue to have full control over the territories - which is contradictory in itself)