During what astronomical phenomenon and why do absorption lines in the solar spectrum turn into emission (emission lines)?

This happens during a total solar eclipse. The photosphere at this time is closed by the Moon, and emission lines are formed in the hot solar atmosphere.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.