Stomach acid is meant to kill anything, whether it’s a pathogen or beneficial probiotic. Yogurt’s probiotics shouldn’t survive the stomach if all is going well.
I had severe gut dysfunction due to multiple parasites and pathogens from spending a year in India. I had dysbiosis, IBS-C and SIBO all diagnosed, and for five years I developed a debilitating autoimmune condition that made eating nearly impossible without intense systemic inflammation, brain fog, body pain, etc.
In addition to multiple pill based probiotics I did literally every home fermentation project I could figure out; kraut, kimchi, yogurt, kefir, etc. None of them helped one bit. I eventually took a double capsule probiotic designed to survive the stomach intact and open in the small intestine and my symptoms were mostly resolved within a week.
I wish this was more common knowledge. We are just starting to understand how crucial gut health is to overall health, including mental health, and basically everyone gets their gut biome carpet bombed with antibiotics on the regular.