Sounds really awful. Sorry to hear that! I wonder if this would have happened many years ago before modern agriculture and all the awful stuff that is present in our foods. I wonder if our environments are causing this lack of stomach acid / enzymes in people. This can’t surely have been happening when we were hunter / gatherers!
There are theories about how our modern wheat for example is vastly different from what it was 50+ years ago, something in the structure has changed so that there's "more" wheat, but it's just fluff - all the good stuff has been modified out to get the maximum weight of wheat at the cost of quality.
That implies might be a genetic disposition which would also imply anyone suffering today maybe shouldn’t be here if that mutation died out. I dunno, I’m a software engineer not a geneticist but I just enjoy the thought experiment