Why do photos of Earth always have a black background?
The photo of the Milky Way is an exposure that was 30 seconds or longer in order to capture the stars. The photo of the Earth was an exposure that was probably 1/100 of a second. (It is daytime!) The stars will not appear in such a short exposure.