Re: Does consuming Sugar cause air and flatulence?
Almost anything we put into our mouths can cause the problems you describe. Can sugar be a problem, In a word, YES.
I have been told to stay away from refined sugar products which isn't easy since there seems to be sugar everywhere. It is present even in other forms, like white flour products, potatoes, etc.
As to discomfort/flatulence from sugars, again my vote is YES. Try to stay away from most of it for a few days and see if you feel better. Trial and error.
I had my Gall Bladder out a couple of months ago and had been on a low carb (many carb loaded things like white breads and potatoes turn into sugar in the liver, by the way) diet for well over a year to try to avoid creating new gall stones. It didn't work, a year later I had MORE stones, but I did feel better digestion=wise.
Now I find that experimenting with carbs like those mentioned above again, as well as things like greasy, fatty foods including wonderful-tasting (but greasy) chocolate chunk cookies from bakeries can just about kill me with abdominal pains and gas. Charming....................... they taste so good yet react in nasty fashion.
Just in the past couple of weeks of eating more carbs in many forms I have put on a few pounds again. I'd lost a ton of weight prior to surgery, both intentional and unintentional, and all the docs said "DON'T put the weight back on!" So... I will go back to watching what I eat. Just being thinner (and I was never obese, just chubby) in itself makes me feel better, too.
You don't mention your age, but many of us, as we hit the middle years, have less tolerance for many foods than we had earlier on. That's another possible consideration.
Good luck with your digestion. Do try to test out various things to see how they react. You may find that some sweet things are fine while others are awful. You just never know.