The Mughals used their might and intellect to dominate over the subcontinent and convert the inhabitants, some wilfully converted to escape brutal Indian caste system which mistreats Dalits severely. The vast majority of Pakistanis fall into this. This is similar to how North Indians are descended from Aryan conquerers mixing with the local population. Hinduism developed ok the subcontinent in an organic fashion but it was the Aryan invaders who bright the swastika, the oldest depiction of a swastika was found in what is now Ukraine.
Pakistani groups like Punjabi, Sindhi and Muhajir who make up the majority of Pakistan are genetically identical to various North Indian groups. Changing ones religion doesn't change ones DNA.
The descendents of Mughals slowly faded away
https://www.dailymail.co.uk/news/ar...et-struggles-feed-children.html#ixzz4jxH1GXHg
Indians cannot take any pride in their accomplishments, Pakistanis have the faint link of the conquerers giving them Islam and thus can feel some pride in Mughal Empire. Sadly this is like African Christians feeling pride in the British empire just because the British converted them to Christianity. Fortunately Africans know better than to think they will one day conquer the world again just because Christians conquered the world once...