Under what condition can astronauts immediately see stars while performing an EVA near the brightly lit Earth?

Answer

When they shade their eyes or move into the shadow of the spacecraft

Astronauts confirm that stars become visible against the black backdrop if they take specific measures to block the overwhelming foreground light, such as shading their eyes or moving into shadow.

Under what condition can astronauts immediately see stars while performing an EVA near the brightly lit Earth?
Spaceskyastronautsvacuumlight scattering