onions have an array of chemical compounds including sulfuric acid. The acids help break down the organic buildup on the grill. So while a brush is using mechanical abrasion to knock off the organic buildup, an onion will chemically break down bonds, including the bonds to your grill