I didn't like it either but it makes perfect sense to my mind.Ok, but I'm allowed to not like it. I would have preferred her to do a different thing than "be a Jedi". (I feel the same way about Sabine.) They didn't go that way, but that doesn't mean I am obligated to cheer it on.
Ahsoka left the Order and ended up attacked still, plus funding our that all the clones died for no reason in the war and those she considered comrades she had to kill.
Then, she finds out Anakin survived because he joined the Sith. So, she she's what happens when one is lost to the Dark Side on two different occasions; Bariss and then Anakin.
So, she has a lot of baggage, plus uncertainty on how to move forward as a Force user, yet not able to let go of Jedi teachings.
Luke struggles with the same thing. People tell.them to become a Jedi yet how to cope with a changing galaxy and rather painful losses is not really taught beyond being willing to sacrifice in the name of the greater good, like Yoda tells Luke to do with Han and Leia.
So, unfortunately, Ahsoka's path is not a clear one.