Mushy (loose) stool and gas occur with the various condition. Acute attacks of mushy stool and gas are often due to dietary changes or infection. Chronic mushy stool and gas can be due to irritable bowel syndrome, food intolerance, celiac disease, etc.
Having so much gas all the time can be a sign of a wrong diet or diet habits (eating too many gassy foods). Also, gas can be a sign of chronic gut conditions such as food intolerance, food allergy, IBS, SIBO, and others.
Severe bloating and distension (making you look pregnant) are often caused by excess gas inside your digestive tract. Eating gassy food, extra fermentation of foods due to food intolerances or SIBO, excess air swallowing, and abnormal sensitivity to gas are the most typical causes.
The link between bloating and pantoprazole is not clear. Short-term PPI (as pantoprazole) for a week or two is unlikely to cause bloating. However, studies show that long-term pantoprazole (for 8 weeks or longer) is linked to increased risks of bloating.
Whether omeprazole works for gas and bloating depends on the cause of bloating. Omeprazole doesn’t help with excess gas inside your digestive tract. But it can help with bloating associated with functional dyspepsia, peptic ulcer disease, functional bloating, and IBS.