There are soooo many fish diseases and almost impossible to get a fish that isn't carrying something. The LFS may have something in the water that suppresses the disease so that the fish stays healthy and eats until you buy. Then you bring a ticking time bomb home to put in your main display with everything else you have. This is why a lot of people quarantine for a month or two before letting anything go in the display for the sake of the new fish and the existing fish. Adding a fish is a huge deal if being very careful. Quarantining is more work and it sucks but nobody is doing it for fun.
Fish diseases are not that interesting of a topic but part of the hobby. There are many videos on youtube to learn about all of the different diseases and what can cure them. Most require removing the affected fish and treating. Some diseases a fish can live with if fed a healthy diet. Some can wipe a tank out overnight without medicinal treatments. There are many medications to keep on hand along with a QT tank for these situations. Usually better to QT before adding the fish than after. Many people do this even if the fish appears completely healthy when purchased because not everything shows up right away and low levels of copper in store water can suppress the disease without affecting the fish negatively. This doesn't mean the water at the store cured anything.