When you cut an onion, it releases a gas, when mixed with certain enzymes in the onion, it creates a sulfur gas. These gases then get to your eyes and create a mild acid which irritates the eyes. Hope this helps, if you have any questions please feel free to message me ;)