Why does an invading military have a right to exist or defend itself? By your logic Russia has a right to defend itself form the Ukrainians
Palestine statehood is recognized by many countries but denied by the Israeli occupation and blockade https://en.wikipedia.org/wiki/International_recognition_of_the_State_of_Palestine