All atoms bigger than hydrogen are formed in stars or supernovae through nucleosynthesis, when gravity, temperature and pressure reach levels high enough to fuse protons and neutrons together.
The Oddo-Harkins rule argues that elements with odd atomic numbers have one unpaired proton and are more likely to capture another, thus increasing their atomic number.