I felt terrible at the store today pregnant

So I’m 19 weeks n 6 days now I ate some food my aunt brought home from her job yesterday it was bomb .. woke up in the morning my stomach was feeling a little weird (I don’t have an gallbladder no more ) I decided to eat anyway cause I had to walk around the store so I ate a bagel n cream cheese then a pb n j an hour later while waiting to go to the store then finally I go to the store boom in the middle of shopping it hits me cramps like crazy like I had to use the bathroom ASAP or I was gonna shit myself omg so I do what I do I hate pooping in public restrooms I swear I didn’t want to but I would get the sweat bad when the cramps came it was so hard just some diarrhea could it be from what I ate yesterday? My skin was pale and I was breaking out in sweats that’s how bad it was 😫 i hate not having an gallbladder