Stomach inflammation, medically known as gastritis, occurs when the stomach lining becomes irritated, leading to discomfort and other digestive issues. It can result from various factors, including infection, chronic use of NSAIDs, alcohol consumption, and autoimmune diseases.