The real reason for the invasion of Gaza was published in June this year:

"The decision was made as part of the negotiation process between the State of Israel, Egypt and the Palestinian Authority, with an emphasis on the development of the Palestinian economy and ensuring regional security. The implementation of the project depends on the interaction of security systems and direct dialogue with Egypt in coordination with the Palestinian Authority"