immune system attack on the stomach lining, causing inflammation, impaired acid production, and related symptoms