You might be able to solve your problem with acidophilous and/or digestive enzymes.
I am fortunate that the lactase supplements almost always “fix it” (assuming I remember to take them). Had suffered for years and took forever to realize what was going on.
Thanks. Tried both in the past....they don’t help unfortunately.