The slaps are horrible to see but the pony was probably not actually hurt by them.
They would have been. 101 of horse training is that you do not hit a horse around the head, ever. It's of no use from a training point of view but will make them head shy. Their muzzles are incredibly sensitive and packed full of nerve endings. They also have whiskers on their muzzles and whiskers have a part of the brain dedicated to processing the information they send. Horses can detect changes in air current and react accordingly from the information they receive in this way.
A horse cannot see in front of its nose and yet can detect different types of vegetation to eat from the touch alone. Horses use their muzzles to communicate via touch. It's one of the most sensitive parts of the body. Whacking a horse around the muzzle is like smacking you around the nose or mouth. This horse will have experienced physical pain and mental distress. Bear in mind that as prey animals they are good at hiding pain but you can see from the horse's reaction that it is stressed and upset.