What’s your source here? Because every historical account I have ever read states that after the UN resolution recognizing an Israeli state in 1947, Palestinians initiated attacks on Israelis, not the other way around.
“The United Nations resolution sparked conflict between Jewish and Arab groups within Palestine. Fighting began with attacks by irregular bands of Palestinian Arabs attached to local units of the Arab Liberation Army composed of volunteers from Palestine and neighboring Arab countries. These groups launched their attacks against Jewish cities, settlements, and armed forces.”
Source: https://history.state.gov/milestones/1945-1952/arab-israeli-war