I think that it's not that she's losing understanding, but that she's bored and losing focus/interest.

I would be very frustrated with the teacher's putdowns of math, too.