This reaction of the observers is partially attributable to the activation of mirror neurons according to some researchers.
When an animal acts and an animal observes the identical action done by another, the mirror neuron fires both. This where the neuron “mirrors” the behavior of the other animal, seeming like the observer is the one acting.