Onions produce the chemical irritant known as syn-propanethial-S-oxide. It stimulates the eyes' lachrymal glands so they release tears. Scientists used to blame the enzyme allinase for the instability of substances in a cut onion. ... Lachrymatory-factor synthase is released into the air when we cut an onion.