The attraction between protons and neutrons can’t hold them together if they are moving with too much energy. Therefore, for protons and neutrons to stick together, the temperature had to drop below about a billion degrees, which happened about a minute after the big bang.