Anemone will deflates and re-inflate when they are sick. IMO, this is a behavior they evolved trying to remove infection from themselves. In the wild, this may work because the turn over of the water is so massive. A few seconds after deflates, the waves will wash all the infectious agent away. New water comeback into the anemone would be all clean.
In our aquarium, the water turn over does not happen so the deflation cycle does not work well in purging the infection from the anemone. In aquarium, the infectious agents will be around and most likely will infect other anemones in the same tank, especially when they are stressed and not in optimal condition.
Some species will be less stressed and less likely to get infect than other. Magnifica and Gigantea, however, are two species that are notoriously ship poorly.