If they get mad, then they get mad. It is not your fault if they cannot handle the situation. But no, you are not a bad teacher. A bad teacher is someone who would force someone to perform even if they are not able to. You are trying to be be supportive and can see perhaps she cannot perform right now because of what happened. Caring about her beyond as someone to perform makes you a very good teacher.