The two are often associated with each other, but they do not refer to exactly the same thing.

Intestinal gas is naturally present in the digestive system and can be released as flatulence or belching.

Bloating refers more to a sensation of pressure, swelling, or fullness in the abdomen. It can be felt even when there isn't a particularly large amount of gas in the intestines.