Answer:
Spectroscopic analysis. Hydrogen was immediately indentified, and another element that could not be identified at first - so it was named "the sun's element", that is: "Helium". Soon after that, Helium was discovered on earth, and is well-known now, but it retains it's initial name.