@ofartemis In many ways. But I'm guessing...
Nocebo effect would be one.
Another would be that your stomack gets used to whatever you eat. If you don't eat dairy products, your gut bacteria that processed that, will die. If you don't eat products with gluten (which is only a set of proteins...