Cutting an onion releases enzymes that produce a gas called propanethial oxide. This reacts with eye moisture to form sulfuric acid, causing stinging and tears. To avoid crying, try chilling the onion, using a sharp knife, or cutting under running water. Sweet onions produce less of this gas than pungent ones.