This 2019 Indian elections was fought on...
1) Pulwama, sympathy gaining factor, polarization of voters, anger, and winning electorates.
2) Then the anti-thesis of it, Balakot bravado(read fiasco), winning more electorates with 'badla chants', chest thumping, war mongering. Indians deemed it a badla even though failed miserably.
With so much at stakes all related to Pakistan, inviting Pakistan PM is practically out of question...than the hypocrisy would have been to blatant and evident on India's part.