How did the universe’s elements form?