It seems that there is no any relation with taking drink.
What I presume is that you might be having lax muscles and ligaments of Temporo-mandubular joint giving you this trouble.
Avoid more opening of mouth.
Keep your hand on the joint while yawning or wide opening of your mouth.
Avoid chewing hard things.Consult ENT specialist
and get examined.
Ok and take care.