There are enamel paints that work over foam (Sig used to sell some), but when you're compounding an enamel paint, particularly rattle-can, it's a lot easier to use solvents that attack foam.
I'm pretty sure that was a lacquer, but there was some thread here a couple of years ago that mentioned that rattle-can paint chemistries have changed in the last few years (thanks, EPA!), and if I remember correctly it's a lot easier to meet VOC standards with an enamel. So, Krylon may not be Krylon any more.