Weird pregnancy symptom?

Ok putting this anonymous because it's a unpleasant subject. So ever since I got pregnant, if I have bad gas pains, or pains from needing to use the bathroom & I can't go, I throw up. Does this happen to anyone else? It's never like I'm nauseous and happen to have the stomach pain, I'm never nauseous and the vomiting to hits out of nowhere. It's happened a handful of times during my pregnancy & im currently 20w4d. Just wonder if there are any ladies with me on this awfulness?