This was almost certainly done to punish Israel:
The United Nations General Assembly on Thursday overwhelmingly approved a resolution upgrading Palestine to a “non-member observer state,” from a “non-member observer entity.”
Before the vote and in front of the assembly, Palestinian President Mahmoud Abbas said this was the body’s “last chance to save the two-state solution.”
He said despite all the violence and Israeli “aggressions” and its “occupation,” Palestinians and the Palestinian Authority have insisted