A quick Google search shows that it is the case for the m majority of gastritis sufferers.
According to the website
https://newsinhealth.nih.gov/2012/11/gut-feelings-about-gastritis
Although stress and spicy foods don’t cause gastritis and ulcers, they can make symptoms worse. Milk might provide brief relief, but it also increases stomach acid, which can worsen symptoms. Your doctor may recommend taking antacids or other drugs to reduce acid in the stomach.
I understand gastritis to be a serious problem for some people. And this suggestion triggered me a bit. Knowing from some of my friends and family who suffer from gastritis who actually experience it getting worse after drinking milk.
What I noticed what works for most of them is eating alkaline foods like leafy vegetables.