I think H.Pylori was responsible for many cases of ‘ulcers’ for a long time before they realized it was involved.
That’s what I’ve read in my research. It’s quite conclusive it is the cause, not spicy food, coffee, stress, etc.