The more spicy food you eat the less crappy food you eat...? That could actually be the explanation (not a variable I saw corrected for in the text at least).
Of course cooking for yourself does not necessarily mean eating more healthily, so even if this is something to do with the observed difference there are will be other significant contributing factors too.
(1) This is common at Thai restaurants, so I figured I'd give it a shot.