When H2 forms, the 1s orbitals of the two hydrogen atoms combine to form a bonding orbital and an antibonding orbital.