Its called stress, or improper acclimation or any number of things. There is a debate that the parasite resides in all tanks and on all fish. I would debate that if people would aggressively QT their fish like they are supposed to.
You brought the fish home, it got stressed, it has ick.. Now you'll need to QT or the rest of your livestock will get it if they don't already.