There military need all these stories to mislead their countrymen, so that they can again do some more stupidity in future. Like Kargil, 26/11, Pathankot and so on.
When faced with a more resourceful enemy, with no technological or strategic advantages, the only way to keep up the morale of one's countrymen is to fill them up with false bravado.
This mindset of Pakistan has actually benefited India very much in the past.
For example:
Pakistan's 1965 war operations were portrayed as massive success against India and cemented an idea that even against numerically superior India, Pakistani military is invincible.
From 1965 to 1971, with such false sense of superiority Pakistan made no effort improve its military or navy. For example Pakistani total troops in 1965 were is 250,000 which increased to a mere 284,000 prior to 1971. In the last minute realizing inferiority in numbers in the East, Pakistanis scrambled to achieve parity by inducting razakars in large numbers, which eventually had no effect in the East.
India on the other despite having superior numbers, increased troop strength from 800,000 to 1.1 million and modernized it navy, resulting in spectacular successes in 1971 war.