@Psychronia The werewolf probably attacked Jennifer because he enjoyed attacking people. Same "reason" as some humans in real life.
As for why he didn't attack in court, likely he didn't expect the attorney to play that card and was unprepared. Also, he's in the courtroom of a FUCKING DRAGON...