Thanks for query,
It seems that your TM Joint has affected during hit on the head.
It is possible that you might have mild sub luxatation or some injury
to tm joint causing problem while yawning or biting some hard stuff.
Avoid chewing hard things and avoid wide opening of your mouth.
Ok and bye.