It has long been theorized that hydrogen, helium, and lithium were the only chemical elements in existence during the Big Bang when the universe formed, and that supernova explosions, stars exploding at the end of their lifetime, are responsible for transmuting these elements into heavier ones and distributing them throughout our universe.
source https://phys.org/news/2021-10-big-puzzle-heavy-elements.html