B.G.
My daughter had a similar problem. I thought she had an ear infection, and the MD said she did not. She said sometimes, especially with the upper teeth, teething can cause pain in the jaws and the ears because they are located along the same nerves in babies. I don't know how true it is but it seemed legit to me!