This callback is called when a player takes damage.
As far as I can see on the wiki, it's called whenever the player takes damage. Falling, getting hit by a car, player hitting a player, player shooting a player, all that stuff. So, to answer your question, it is called by anything you can come up with to inflict damage on a player.