We haven't had good relations with Pakistan or Iran for 20-30 years. Who says Trump doesn't have good relations with Egypt?
The Iran Hostage Crisis is almost 40 years old, although I'm not sure about British-Iranian relations.
On the other hand Pakistan has had good relations with the US, including receiving military and non-military aid, except recently Trump announced he decided to stop some. I don't disagree with this, but he was probably talked into it by someone else, as I don't see him as knowledgeable.
Egypt was on Trump's list of countries with banned entry to the US.