As someone previously noted, the device is specifically checking for traces of nitrates.
I've have had them check my carryon 2-3 times in the last few months. Guess I just look suspicious.
BTW, if you use/carry sublingual nitroglycerin tablets; these will sometimes set off the detector.