Hello,
According to your history and symptoms, the reason pain of ear pain was actually a TM Joint.
That's the reason you feel pain in your ear while opening the jaw/mouth.
The best thing is to get your OPG Xray done for TMJ.
And get a consultation from an ENT doctor for the same.
Next Steps
Get Your OPG xray done.
Take a pain killer until you visit an ENT doctor.
Health Tips
avoid wide opening of the mouth.
avoid eating Hard food on the side of Pain.