Well, Makuria was strongest when the friendly Fatimids ruled Egypt, mostly due to flourishing trade between them. So a friend in Egypt probably will always rely on how much the Egyptians benefit from Nubian trade. The Funj arriving on the scene however, that can be harder to avert.
Ah, I understand...