They've also been cooperating on blockading Gaza for a couple of decades. Israel gets most of the attention for that, mostly rightfully so, but people seem to forget that there's a border with Egypt too and that has also had very limited access.
As an Arab friend summed it up, 'All Arab governments like to trumpet the Palestinian cause when it serves them, but none of them are willing to lift a finger to help the Palestinians.'
To be fair, part of the peace deal between Egypt and Israel gave Israel some control over the crossing, and they seized it entirely during the war.
https://en.wikipedia.org/wiki/Rafah_Border_Crossing
> The Rafah crossing was opened by Israel after the 1979 peace treaty and remained under Israeli control until 2005...
> Under a 2007 agreement between Egypt and Israel, Egypt controls the crossing but imports through the Rafah crossing require Israeli approval.
People don't forget it. But Egypt is a dictatorship aligned with US/Israel, so there's again not much we can do there. Ending foreign aid to Egypt is probably very aligned with ending foreign aid to Israel in terms of popularity among American voters
Egypt learned on other's mistakes for once. They saw how Jordan welcomed Palestinians on their land and they repaid the kindness by launching a coup against the government in 1970. No wonder not a single anti-Israeli coalition country is willing to deal with Palestinians directly at their own home and are keeping borders watertight :) .