Much more complicated...WWII was coming to an end. Brits had lost control of India. The Soviets had become a major threat. Eishenower asked Churchill to see if India would let the US fly spy missions from north India.
India said no way...after 200 years of occupation, it was time for the Brits to leave. After that, the Brits and the USA started funding the Muslim league. Their leader, while in the UK, has promised a base for US spy planes. Jinnah, Pakistans founder got funding, and the UK created Pakistan for the US. That partition cost over 15 million lives.
Pakistan now is the gift that keeps on giving. They are our creation.
It’s even more complicated, Jinnah the Pakistan independence leader ( Who hated Ghandi. Viewed him as a pious fraud !) was completely secular, an atheist in fact though enough of an opportunist or pragmatist to know that Hindu & Muslim couldn’t coexist peacefully in one state. There had to be a Muslim state separated from a Hindu state. He gave Pakistan a secular constitution Eventhough I’ve been told that Pakistan means land of the faithful in Pashtun. Like I said he was ever the opportunist. As long as he was alive the state of Pakistan sort of barely functioned.