The word "Aha" is a sound people make when they discover something. The horse makes a sound because he has discovered the battle. (See: [[rc://en/ta/man/translate/figs-personification]])
It is implied that the horse hears these things. Alternate translation: "he hears the thunderous shouts" (See: [[rc://en/ta/man/translate/figs-explicit]])