Egypt has a tight border because Israel has a history of launching retalitory strikes against neighboring nations from which terrorist cells originated.
EU nations accepted more than a million Syrians with more or less same issues along with way more Ukrainians.
But suddenly another Arab, another Muslim, immediate neighbor just coldly keeps the border shut.