The most accurate response would be:
They accumulated wealth from trading with the Middle East and Africa.
This reflects the historical reality that many Asian economies benefited from trade networks across the Indian Ocean, leading to increased wealth and economic development.