There were several factors behind partition of India.
1) Rising riots between Muslim and Hindus.
2) Less seats of Muslim League in the Parliament as compared to Indian National Congress
3) High populated Muslim Areas in some region like west & east India.
Hope this helps!