HIDDEN RELATION BETWEEN REFLECTION AMPLITUDES AND THERMODYNAMIC BETHE ANSATZ