Text this: On the origin of bright lines in stellar spectra