What causes flatulence at night in bed?

Consider abdominal distension and bloating in bed at night, which may be related to gastrointestinal dysfunction, gastric diseases, intestinal polyps, intestinal cancer and other reasons.
1. Gastrointestinal dysfunction: anxiety, lack of sleep, improper diet and other reasons may lead to gastrointestinal dysfunction, gastrointestinal peristalsis slows down, the symptoms of lying in bed at night bloating.
2. Gastric diseases: gastritis, gastric ulcer and other gastric diseases may lead to decreased peristaltic function of the stomach and digestion and absorption, resulting in symptoms of bloating in bed at night.
3. Bowel stenosis: Bowel stenosis or even intestinal obstruction caused by intestinal polyps, intestinal cancer, etc. may lead to obstruction of intestinal gas discharge, resulting in bloating in bed at night.
Bloating in bed at night may also be related to ulcerative colitis and other reasons, need to further check the abdominal ultrasound, gastroscopy, colonoscopy and other items, find the cause of the treatment under the guidance of the doctor.