Gas and bloating can have many causes, including:
Gas also often occurs during the recovery phase of abdominal surgery. Gas-bloat syndrome may occur after surgery to correct gastroesophageal reflux disease (GERD).
WebMD Medical Reference from Healthwise