system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: the Indian-Pakistani conflict

I saw a really good post explaining the Israeli-Palestinian conflict. I've always been interested in India and hoped someone here could explain their conflict with Pakistan.
gpt
First, a bit of history: India, Pakistan, and Bangladesh were all part of the single British colony of India until independence in 1947. However, because the newly formed country was to be a democracy, there were fears that the minority Muslim population would be oppressed by the Hindu majority. To make sure the Muslims would be ok, they were given their own country. Thus, India was split into the independent countries of India and Pakistan. Pakistan consisted of two disjoint parts, East Pakistan and West Pakistan, but eventually West Pakistan broke off and became Bangladesh. 

Now, regarding your question: When the British took over India, they did so in a pretty complicated way, so there were still many Indian princes who had some power in their Principalities. When India was split, the princes were given the power to decide whether they wanted to be a part of India or Pakistan. Usually, the prince was the same religion as the majority of the population of his principality, so it worked out. However, in a place called Kashmir, a Hindu prince ruled a majority Muslim area, and he declared that Kashmir would become a part of India. However, based on the largely Muslim population of Kashmir, Pakistan has always claimed that it should not be a part of India, and this is the original source of nearly all their conflicts.