It's not rocket science. If you eat something that is foreign to your body you develop an allergy....
Hey, how's bout the brave man or woman who first ate an oyster? If an oyster on the half-shell is not foreign to your body then nothing is.

But as people kept eating raw oysters they noticed that nothing ever happened to the cave men who by then had developed a taste for raw bi-valves.