Ouch, that sounds awful! I’m surprised the dentist didn’t ask you about colitis or IBS. I’m glad you figured out what it was
Now I’ll be glad when it goes away.