Some non state actors started the conflict, and India decided to make it an official conflict. State actors can't really treat these non-conventional forces as extensions of the military of other countries and retaliate against them. Well they can but then they risk starting wars. Often these non-state actors do whatever they want on their own, despite their handlers telling them not to do something. If these two countries do go to war it's likely that both will suffer heavily because of it -- Pakistan may not survive but India may be badly damaged. With all the economic issues these countries have they should really avoid getting into something like war.