Islam was spread with quran in 1hand and sword in another. Women were raped and kept as harams. Children from such harams became followers of Islam. This happened not only in India, but all over the world.
Hence u c maximum muslims (not all)to b laborers or small time workers. The initial attraction was legally having 4 wives.