This sounds very much like a chicken-egg problem.
The first thing that formed must be hydrogen nuclei. The only other alternative is that the atom was created instantly, and the nuclei sprang forth at the same time as the atom, meaning that neither was technically first. The logic is that an atom can’t form without a nucleus, but it theoretically could be created instantly.