Question: why does your stomach hurt when you have gas?
Answer: Gas pain may occur if gas is trapped or not moving well through your digestive system. An increase in gas or gas pain may result from eating foods that are more likely to produce gas. Often, relatively simple changes in eating habits can lessen bothersome gas.