For example, here is a blog post I bookmarked some time ago that explains to some degree how we ended up with a Universe of mostly hydrogen, and how most of the nuclei of hydrogen and helium-4 were actually formed very quickly (though they didn't become atoms as we know them for quite some time afterwards), I find it an interesting read Why did the Universe start off with Hydrogen, Helium, and not