Visibility is a measure of the distance at which an object can be clearly discerned. Visibility depends on the transparency of the air. There is no air in space to disrupt the transmission of light, and therefore, light can travel very far in space practically undisturbed.
The ISS can be seen clearer than objects on Earth’s surface far closer than the ISS. Flat-Earthers use the fact as “evidence” that the ISS is much closer. In reality, only a fraction of the light path from the ISS travels through the dense lower part of the atmosphere that will significantly affect the transmission of light.
On the other hand, light emitted by objects on Earth’s surface has to travel the entire path through Earth’s atmosphere.