"On November 29, 1947, the UN General Assembly, in its 128th plenary session, by a two-thirds vote (33 to 13 with Britain and nine others abstaining) passed Resolution 181 partitioning Palestine into two states, one Jewish and one Arab. The Jewish community of Palestine jubilantly accepted partition despite the small size and strategic vulnerability of the proposed state. Not only were the West Bank and Gaza Strip not included, but also Jerusalem, most of the Galilee in the North and parts of the Negev desert in the South were excluded.
After the vote was announced, the six Arab delegations of Iraq, Syria, Lebanon, Egypt, Saudi Arabia, and Yemen stormed out threatening war"
From: http://www.palestinefacts.org/pf_independence_un_role.php
The Arab countries - the only representatives of the Arabs in the matter - voted against it - and they represented the majority population in the region.
The will of the majority had to be thwarted in order for the state of Israel to be created. I'm not saying that EXCUSES the violence on the part of the Arabs, but it does EXPLAIN why it happened.