Hello. I was diagnosed with OCD when I was seven years old after my parents saw that I'd wash my hands endlessly, cry when my mom didn't put my shoe on JUST right, etc.
You said she recently had an ear infection. Now, that causes some concern. She was like this before, right? So I wouldn't be too concerned with the information I am about to give you. If she had an ear infection, did she has strep? It can be PANDAs syndrome.
http://www.ocfoundation.org/uploaded...ct%20sheet.pdf
Though it seems unlikely if she has been like this prior. Have you thought about seeing a child psychologist for an evaluation?