I find this interesting and I just might have the answer in which you seek. I kept getting pain in my right ear and my PCP would tell me I had an ear infection many times. In May I was having terrible stomach pains and it was determined that I had gastritis (inflammation of the stomach) which was quite painful and my right ear would throb (it generally does when I feel nauseated). I took meds to help and the pain went away.
Fast forward several months and my right ear would get very painful...went to an ENT as I was sure that I had yet another infection and my ear was clear as could be, absolutely nothing wrong.
He did say that sometimes if there is an issue going on somewhere else in the body, like inflammation or an infection then it could cause ear pain.
Less than 24 hours later my stomach started acting up all over again. I will have ear pain when the gastritis is acting up or if I feel as if I need to vomit. Of course if there is a true ear infection. So I have learned the difference between these three.
Hope this helps,
~Zig