The original Indian and Pakistani founders had Soviet education and influences. Moreover the Comintern was one of the only fora at the time that was openly in support of decolonization. The similarities aren't coincidental.
Sorry didn't mean to imply Nehru, Gandhi, or Jinna were educated in the Soviet Union. Just that revolutionaries and early Communist Party leaders who were influential to independence were influenced by or spent time in the Soviet Union.