Just the horse’s way of saying hello.
When you learn to speak horse, this is one of the basic parts of the vocabulary.
As a rule, horses always tended to like me.