And Egypt was occupying it before Israel, and the British and the Ottomans and the Romans.
Then, the majority of this population, and the vast majority of the Arabic parts of this population, were displaced to make room for the novel state of Israel, most of the population of which were Europeans and Americans of Jewish descent. They came in and took the homes of the Palestinians living today in Gaza and the West Bank, or their parents or grandparents. And then they have occupied the lands where these Palestinians had been driven away to, with direct military presence for a long time, and then with "just" a blockade and controlled movement.