In Malaysia and Indonesia, it was due to the Koran being a rather useful uniform commercial code, that gave trade advantages to the Sultans, and because the Portuguese were such vicious predatory religious fanatics, while the Muslims just wanted to make money. How times have changed. In India, as I understand it, many of the Muslims were former Hindu untouchables, that decided to opt out of a religion were they were treated like sh**t. Read my friend Bill Bernstein's book on the history of trade, and you can find out all about this stuff. I read the whole book in one sitting. I could not put it down.
You know Bernstein?