They heated the onions before cutting them. Onions have an enzyme that if cut, will cause sulfuric gas to emit into the air causing tears. Heating it breaks the enzymes down to help reduce crying.
http://oureverydaylife.com/heat-onion-dont-cry-40145.html
http://oureverydaylife.com/heat-onion-dont-cry-40145.html