The correct option is B their outermost electrons are at different energy levels
For two different elements, their valence electrons are at different energy levels, so when an electron makes a transition to another level, different type of spectral line is observed.