Ok, so for some context, I was playing puzzle mode where it only shows my rating. I had gotten all the moves right until the checkmate. However, the way that I checkmated was also right, although it was counted as wrong (the correct way was queen takes pawn). Why is this the case?