Hi Lori and welcome. You're having gas and pressure. Are you in any pain? Are you vomiting or feel like you're going to vomit?
I don't know if the two are connected. It could be a coincidence. The stomach issue could be from something you ate. Keep an eye on it. If you're bloated, in a lot of pain, unable to use the washroom and it lasts note than 4-6 hours you should call the doctor as it may be an obstruction.
Hopefully its nothing and you feel better soon.