Why was India divided into two different countries when it won independence from Britain? make it short

India was divided into two different countries, India and Pakistan, when it won independence from Britain due to religious and political tensions between the Hindu-majority and Muslim-majority regions.