Why do i get diarrhea when i get mad

I am 19 weeks pregnant. Whenever i get mad my stomach hurts so bad and its diarrhea. Has this happened to anyone else?