An ear infection could cause this but a nasty mastitis could also send toxins into the system that could affect the brain. Do her nipples look swollen or red and hot at all if you can check?
It doesn't sound like this though if she is eating well and seems not too bad in herself.
Poor wee mite it is such a shame