The international law position is that Israel should get the fuck off of the west bank and east Jerusalem which Israel refuse and want to exterminate Palestinians from the land . International law allows a one state solution too.
There is an endless war because Israel is a settler-colonial power. Until they stop, the whole region will have the right to attack Israel, and Israel will have no right to defend itself
Do you think Russia has the right to defend itself against Ukraine and it's ally?