Gastritis with bloating may be related to Helicobacter pylori infection, dyspepsia and prolonged gastric emptying. 1. Helicobacter pylori infection: Helicobacter pylori infection can cause gastritis, and Helicobacter pylori can produce urease, which breaks down urea and produces ammonia, thus leading to the symptoms of gastric distension. 2. Dyspepsia: After the gastric mucosa is damaged, the secretion of digestive juices is abnormal and the digestive function is disturbed, which leads to dyspepsia, gastric distension, nausea, loss of appetite and other symptoms. 3. Prolonged gastric emptying: gastritis can lead to prolonged gastric emptying time, so that a large amount of food is accumulated in the gastrointestinal tract, resulting in symptoms of bloating. Gastritis can also have other causes of bloating, it is recommended to go to the hospital in a timely manner, improve the examination to determine the cause of the disease, under the guidance of the doctor to give targeted treatment or treatment.