My tank is quite heavily stocked
These symptoms are often associated with less than optimum water quality - rather than reaching for the salt, get out the water change kit & increase water change frequency (& possibly %age) for a month or so
It's always a good (& conservative) idea to quarantine any new fish - regardless of fish shop source - before adding to an existing community tank
This becomes even more important in an active community - new fish will always be stressed from all the changes
(& shipping etc), existing fish will always investigate (& often intimidate) new fish.
Stressed fish have significantly depressed immune systems so can easily be overcome by new immune challenges or pre-existing minor issues
By the time their activity level & feeding behaviour is impacted, they are very sick
Salt increases skin secretions by acting as an irritant - hence its widespread use against external parasites - an otherwise healthy fish may be benefitted by this, an already ill & stressed fish may be overwhelmed by yet another stressor: there is a reasonably high metabolic cost to produce the increased secretions, weakened fish that are not eating well would respond better to an actual medication that targets the parasite rather than the host fish
Salt levels to actually impact parasite life/reproduction are higher than most fish species can tolerate
Exceptions to this are the various livebearers that tolerate (& live naturally, on occasion) brackish waters
Domestic bred angel fish also tolerate salt very well (introduce salt gradually), wild caught angel fish can react adversely to similar salt levels
Rainbow fish are among the species with a significantly higher incidence of "fish TB" - there are several "bacteria" identified, & of course, assorted secondary infections - fish
never have just one predominating infectious agent
Fish also experience various tumours (benign & malignant)