Hold on here. You are saying that if Gaza started building power plants and greenhouses and water and sewage treatment facilities that Israel will attack them for doing so? Which four month period are you referring to?
Basically, yes. Israel is dead set on punishing Gazans for voting for Hamas. Israeli policy is to make Gazans life a living hell. So they target civilian infrastructure, restrict humanitarian aid into the area, restrict Gazan farmlands, Gazan fishing; everything you can do to starve a population that size, Israel is doing.
And every time the Palestinians have tried to resolve the conflict through peaceful means, Israel has attacked militarily.
Hamas a Fatah tried to come together with a unity government, pursuing a more political solution to the crisis and giving up their militia wings, and what was Israels response? Operation Protective Edge!