Hypothetically, rust can develop in the calipers if water is present in the line. If it actually did, it is prudent to replace or rebuild them. You could probably tell from how freely the cylinder moves, after disconnecting the line from a caliper.
These take extra time and effort and multiple trips to the repair shop, which most customers would perceive as an incompetent job. That’s why shops tend to recommend address all possible causes at once, even though there is slim chance of all of them being defective.