You have correctly quoted the Qur'an to show that animals have no understanding.
However we see that they can respond in a certain way to sound. Please visit any Marineland and watch a spectale of whales and dolphins responding to sounds in a spectacular manner putting on a regular show. Same is the case of sheep and cattle being handled by a sheppard through sounds. Not sure about horse trainers.
Can animals not be trained to react in a certain way to sounds?