The kind of dilemma that above situation represents is the moral dilemma.
Moral dilemma refers to the situation or conflict in which choice has to be made between two or more choices, also each reason constituting a moral reason to chose for action.
As with the inference from the above situation, the man being poor he tries every legal and ethical way to get the medicines for his child to save a life. Unfortunately, he is unable to. As a result, he had another option to steal money and get the medicines easily by not getting caught. Hence, the poor man is caught in a moral dilemma whether he should try more legal ways and let his child suffer or should steal the money to save his child's life. Such a situation creates a moral reason for him to perform a particular action.