What is the meaning of the word respond?
: to say something in return : make an answer. : to react in response.
How do you respond to glad to hear that?
Glad to hear that can be replied to, by saying Thank you and appreciating and showing genuine feels of thanks for the same.