The government probably doesn’t want them, but there are people within the government with differing agendas.
MONEY TALKS.
Some Egyptian border guard that is offered $50,000 US Dollars in cash to look the other way does not care who they are.
Also, once they get to Egypt, why would they stay?
They could easily take the next cargo ship to Yemen or UAE or Qatar.