Humans have evolved to cope with lactose and alcohol. Getting sick is that response. This is the same in how we've evolved to live with fire. Not because evolution can magically make us invincible to chemical combustion -- instead we have pain receptors and learn to avoid it.
Some 20k years ago, some of our ancestors started consuming milk even in adulthood, and it turned out a few of them had a mutation that allowed them to continue producing lactase even in adulthood. Since milk is actually a very nutritious substance if you can farm it, these people thrived and passed on their genes, in some areas.
I was thinking more generally: "someone drinks milk, they get sick, they don't drink it, don't die".
In the case of alcohol, our body detects the alck of balance and other neural impacts, classifies this as a poisoning, and it tries to provoke vomiting to eliminate as much as possible of the poison. It's explicitly an adaptive response that we developed to survive consumption of poisonous substances.
Our evolutionary ancestors could’ve involuntarily consumed alcohol way before 20k BC.