Why are Starlink satellites visible as a line in the sky when the ground below is dark?

Answer

They are high enough to still be illuminated by the sun.

Starlink satellites do not produce their own light; they become visible because they remain high enough in the atmosphere to catch the sun's illumination even after sunset or before sunrise on the ground.

Why are Starlink satellites visible as a line in the sky when the ground below is dark?
nightskyatmospherephenomenonwhite line