The nuclear rivals exchanged gunfire at the Kashmir frontier.