Allergic reactions occur because allergic antibodies (ige) attached to the cell membrane of immune cells called mast cells bind to a foreign protein
they recognize, activating the mast cell
which then releases histamine
and the histamine then causes the allergic symptoms.
Allergic antibodies are only formed to large molecules, usually proteins, which are many thousand times larger than water.