Sometimes for some people when the gas goes out the bloating goes down, they don't always go together (as gas isn't the only cause of bloating) but better out than in.

Some people don't move the gas very well so it may accumulate.If you are eating a lot of starches that will increase gas as will some fruits and things like cabbage family veggies and beans.