Egypt has a long association with Gaza. During the Nakba hundreds of thousands of Palestinians were expelled from their homes and became refugees. These moved North, East and South. The refugees poured over the borders into Lebanon, Jordan and Syria but Egypt refused to accept any south moving refugees.
The Palestinians become stuck and crowded into Gaza, a once lovely cosmopolitan coastal region, where Jews, Arabs and Christians had lived together for centuries.
Israel thus turned Gaza into a huge refugee camp and that's what the "Gaza strip" is and has been since the fake state of "Israel" appeared on the map like the ugly cancer that it is. Gaza is an Israeli made huge refugee camp.
Many of the refugees in Gaza came from Arab villages near Gaza, that had been ethnically cleansed by the Israelis, do you know what those Arab villages became? They became Jew-only "settlements" the very same settlements that decades later Hamas attacked on October 7th 2023.
Try opening a book not written by a fucking Zionist for once in your life.