I was talking about the beginning, so the big bang, which only produced hydrogen and helium. At least that is the common consensus. The first stars were creating more elements, as they can create everything up to iron. For everything else we need super Nova explosions, which obviously came much later, but that also explains only a part of the universes chemical evolution. The rest could be explained by binary neutron star mergers or exotic types of super novae, but that is still highly debated.
To be fair, a lot of elements existed before the first stars exploded, it was just overwhelmingly hydrogen and helium.
I was talking about the beginning, so the big bang, which only produced hydrogen and helium. At least that is the common consensus. The first stars were creating more elements, as they can create everything up to iron. For everything else we need super Nova explosions, which obviously came much later, but that also explains only a part of the universes chemical evolution. The rest could be explained by binary neutron star mergers or exotic types of super novae, but that is still highly debated.