The distance from earth to the sun is 150 million kilometers and your orbit is probably only a few hundred kilometers up (and realistically it’s sun-synchronous and perpendicular to the earth-sun axis), so the distance change doesn’t really matter.
LEO isn't much closer to the sun, and the atmosphere probably doesn't absorb a huge amount at the wavelengths they work.