Answer
The student accidentally calculated a permutation.
Work Step by Step
We know the equation for combinations:
$$nC_r = \frac{n!}{r!\left(n-r\right)!}$$
Thus, we find:
$$\frac{6!}{2!\left(6-2\right)!}=15$$
Thus, the student did not remember the $2!$ in the expression, treating it like a permutation.