Ibuprofen may cause strong gastritis, even
ulcer. Any acid, which comes into contact with an
ulcer, causes
pain. Wine is basically an acid.
To make an exact diagnosis (gastritis or ulcer...), gastroscopy would be needed - this was already done?
Pepto-Bismol releaves your pain? Interesting. When you say pain in the stomach - you mean exactly stomach - or entire abdomen?