The statement that best analyzes the impact of Indian Ocean trade on religious beliefs in Africa is:
B. Arab merchants settling on the Swahili coast influenced cultural diffusion, leading to larger Muslim populations in eastern Africa.
This statement accurately reflects the historical influence of Arab traders on the Swahili coast, where their presence helped to spread Islam and facilitated cultural exchange between different peoples and nations involved in Indian Ocean trade.