They were attacked because they stole like half of Palestinians land. Palestinians didn’t even get to participate in the UN vote.
Two countries that were recently partitioned by the UN and suffered massive violence as a result (India/Pakistan) both voted against annexing half of Palestine to create Israel.
Yes, the Nakba was Israel’s fault. And they still need to return the land that they stole