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…
This is all true, and yet it’s still a good thing.
The more people invest in this stuff the cheaper it will get.