Why am I sometimes very gassy and sometimes not gassy at all?

See your doctor. Having these types of symptoms can best be solved by having your doctor perform a thorough evaluation. Only through this type of process can he/she discover what's going on and how best to help you.