Bloating happens when you eat something and your stomach swells. Your digestive system may be disturbed by excess gas production and/or by disturbed movements of the muscles.