The correct answer is A. Upon hearing Francesca's story, he feels grief for her tragic life.
In fact, Dante is so moved by her tale that he weeps and faints. Dante feels that her sin is not a hateful one, which is why he responds with pity and grief for her fate.