Layman's guess. It probably has to do with conservation of energy and momentum. To form a molecule, you have to change the energy state of the electrons in both atoms, and in order to do so you have to respect the conservation laws, so I guess it takes a third atom to absorb/provide the required amounts of energy or momentum.