
Her goal is completing her role and be sent back home. Simple as that. She is acting like that because she believes being nice to him like the 1st time made the plot skewed and she was forcebly sent to the past instead of sent home because of that.
Her role in the novel is being the one responsible for him turning into a tyrant... she didn't live that life believing it was her second life or something. But that she was abducted to inside a book and if she wanted to go back home she had to play that role.
Hm... think of it that way... you know Harry Potter right? Imagine if you were pulled inside of it as Remus or Sirius. And the only way to go back to reality, your home, family, friends and everything you love, is to play that role till its death. And so you do it... including turning into a werewolf or going to azkaban... all knowing this is a book and that after all that Harry will marry, have kids and have his happy life after winning the magical war... and after you do all that and finally die how the character should and is happy cuz you'll finally will go back to reality... you are trown back to the first time you appeared at the book and has to go through it all again... wondering why that happened you conclude you were way too nice to Harry and he was too devastated after your death and probably lost the fight or something and that's why you were sent back... because you somehow skewed the plot... so you help him this time but while being mean to him so your death will not affect him as much this time and will be able to finally go home.
That is probably similar to what the Mc is going through... ╮( ̄▽ ̄)╭

But it is... she did her role perfectly... that's why she is confused on why she was sent back in time instead of going home... and believes she did something wrong... on wondering what she notice how he is too nice to be a tyrant (currently) and believes it's her being too nice to him that changed him... so she is trying to get him mad at least once... to change him so he won't be too nice to be a tyrant... she believes that's the condition for her to go home she dying and him becoming a tyrant. As she doesn't know what happened after she died she thinks he didn't became a tyrant... hence she was trown back...
But honestly... is obvious he did it... he somehow turned back time and because of that she went back too instead of going home... but she doesn't know and blames herself...
╮( ̄▽ ̄)╭
She’s acting like he became a tyrant for no reason and that he’s inherently a horrible person as if she doesn’t know the exact reason why he started the war