Gastritis causes inflammation of the stomach lining (known as the mucosa). The stomach's lining protects it from digestive acids and potentially harmful microbes, such as bacteria. Irritation or ...