My two kids had two different causes for this sort of issue.

#2 looks like this when her perfectionism starts to come to the fore. The solution is to pick something she feels stuck on and help her make actual progress in that skill. Suddenly she is ready to work harder on all skills then and make progress on them, mood improves, all fixed until the next time.

#1 was in the early stages of a major health issue. It's probably worth a checkup to see if your doctor can see if anything is wrong. I'll send you a PM on our exact situation.