Hamzza
VIP
Arabic and Somali evolved from the same language. There will be similarities because many common words came from the same root word.
This is a concept taught to 14 years old kids. You should be ashamed of yourself.
Afro-Asiatic has a massive time depth compared to other families. It's estimated to be around 15k years old, Therefore the possibility of remotely related language families like Cushitic and Semitic sharing cognates is very minimal. The only reason Afro-Asiatic was recognized as a legit Language family group is because the world's oldest written languages are Afro-Asiatic.
Considering how loanword borrowings between the two languages have mainly been one-way traffic, it's better to assume that every word shared by Somali and Arabic is a loanword from the latter.