bonk
What I find hilarious is, that they are communicating completely different things.
Goats butt heads. It’s not exactly aggression, but it’s always relevant to dominance. That goat is trying very hard to start a fight.
But to the horse, this is a gentle “hello” kind of head bump, and the horse is trying to be polite and return the gesture.