The different roles of reagent vibrational excitation for endothermic and exothermic reactions