The Malay aristocracy preferred to leave commerce to foreigners, principally to Tamil and Gujarati Indians, Javanese, and Chinese.
The Malay aristocracy decided that foreigners should run the commerce side of things.