The release is due to the breaking open of the onion cells and their releasing enzymes called alliinases, which then break down amino acid sulfoxides, generating sulfenic acids.
When onion cells are ruptured, enzymes known as alliinases are released. These enzymes then break down amino acid sulfoxides into sulfenic acids.