The early Turkic invaders conquered the Indus plains by force and imposed Muslim rule. The local population was defeated, taxed, and brought under a new political and religious order. Conversions followed under that pressure, not as some free, purely spiritual choice.
Later Pakistani narratives then decided to claim those same invaders as “us.” That is not history. That is a cover-up. It is an attempt to hide the fact that their ancestors were the ones who were conquered by pretending they were the ones doing the conquering.
First came the sword. Then came the conversion. Everything else is after-the-fact storytelling.