Gas in your stomach and intestines occurs as a natural result of eating and drinking. The food itself can cause gas, or the way you eat can cause you to swallow air and create gas bubbles in your stomach. Over time the gas naturally disperses or passes out of your body through belching or flatulence.