Would this still be an outrageous story if the teacher had written, “Of course you are right that 15 is made up of three groups of 5, just as it is made up of five groups of three. Because the 5 was listed first, I expected you to use five groups of three ,but your answer isn’t wrong.”
I think this was a teacher using an answer sheet, a problem that can occur under any curriculum.