Your pain such as the pain you are describing is a issue for 99% of the temporomandibular joint patients that I see.
The structures of the temporomandibular joint are enclosed in a capsule, like a Mickey Mouse balloon inside a balloon. When there is something wrong inside this capsule,swelling begins and pressure is placed on the ear structures resulting in the pain that you are experiencing now. Usually it is just as rapid as you describe it.
My suggestion is that you have a complete and thorough temporomandibular joint examination by a TMJ pain management specialist to find out exactly what the problems are that are creating issues for you.
Now the good news! Ear pain is usually one of the first things to go away when appropriate Phase I treatment is begun.