Mainly because all the productive land was taken from them.
The few farms and fisheries in Gaza can’t produce enough for 2 million people. Especially since they aren’t allowed to mechanize their agriculture, and are limited in maritime range for fishing.
And forget the possibility of trade ports…
Israel and allies have spent enormous resources convincing themselves and anyone they can that Palestinians don’t exist.