She is giving (to him) help. She is giving help to him and he is receiving help. In English "she helps him", "him" would be a direct object but the German verb hlifen is more like "give-help". And then him answers "gives the help to or for whom?" and that takes an indirect object which in German takes the dative form.