Answer:
the second time there is a gas between you and the star,
Step-by-step explanation:
When you observe the star for the first time you do not have a given between you and the star, therefore you observe the emission spectrum of the same that is formed by lines of different intensity and position that indicate the type and percentage of the atoms that make up the star.
When you observe the same phenomenon for the second time there is a gas between you and the star, this gas absorbs the wavelengths of the star that has the same energies and the atomisms and molecular gas, therefore these lines are not observed by seeing a series of dark bands,
The information obtained from the two spectra is the same, the type of atoms that make up the star