The most accurate response is: They accumulated wealth from trading with the Middle East and Africa.
Asian economies benefited significantly from trade across the Indian Ocean, gaining wealth and resources through their trading relationships with Middle Eastern and African regions.