The Egyptians only controlled a tiny portion of the coasts for a short period and their rule was nominal if i’m not mistaken. The reason why they have many Arabic loanwords is because they’re a Muslim country. Almost every Muslim culture has Arab loanwords.Somaliland was colonized by egyptians that may be why they have many arabic terms/loan words