More than ability- we lack balls at the top- or at least used to until Modiji happened. The intent- "if you're bad then I'm your dad", was sorely missing- as seen in our response to 26/11 or the parliament attack before that.And therein lies the problem. Instead of doing a Galwan or pushing a Balakot further, we sit and wait for them to happen.
There is nuclear deterrence and then conventional deterrence. What we lack is the ability to inflict pain under the nuclear umbrella.
Now at least we are not pushovers- we are actively pushing back where they probe us. It is the same for Taiwan, Japan etc. they also only respond to intrusions from the bad boy.
Maybe another generation change will have to happen before we actively and openly (as opposed to clandestinely) start fingering the adversary. May also have to discard some of the 'Vasudhaiv Kutumbakam' juice.