Egypt's decision of closing the Rafah crossing point with the Gaza strip meant to pressure Hamas because of the differences between Hamas and Cairo over the lack of progress in both the Egyptian-led indirect talks with Israel and also the efforts to reconcile Palestinian factions.
source https://www.jagranjosh.com/current-affairs/egypt-closes-rafah-crossing-with-gaza-amid-friction-with-hamas-group-1629797125-1