Gas can be the result of an allergic reaction to certain foods. Pay attention to what she ate before it happens and cut that out of her diet.