Not all stars are created equally. Astronomers believe that the first stars to form after the Big Bang were mostly made of only hydrogen and helium with trace amounts of lithium, as the heavier elements formed later on by nuclear fusion inside the stars. When these stars went supernova, heavier elements spread throughout space and formed more stars. Each successive generation contained more heavy elements, and these elements also became successively heavier.