Formation of light nuclei:Three minutes after the Big Bang
Neutrons and protons interact and form deuterium.
Tritium and Helium are subsequently created by neutron and proton capture.
The reaction rates are high enough to ensure that most neutrons will interact before they decay (neutron life time is 10 minutes).
Using measured reaction rates, we can calculate the relative abundance.