Stomach pains caused by gas are uncomfortable, and they can be embarrassing when the gas needs to come out. There are various foods that can cause you to feel gassy after eating them. Many of those foods such as beans and fibre-rich vegetables are part of a healthy diet. Other gas producing foods, such as fatty meats and foods fried in oil, taste good but are not healthy. Fortunately, there are ways to get relief from gas pain. The first step is understanding what causes the extra gas.