The question is: Que bono. Who benefits?
Not India, who gain nothing from strengthening hardliners opposed to it in Pakistan or Sri Lanka. Nor the Pakistan or Lanka governments.
Sometimes the most likely suspects are really the ones whodunit. In this case, that would be Lashkar+Taliban. If intelligence agencies can cooperate, so can terrorists and insurgents.