Because someone else broke her doll, the little girl solved the problem by killing someone else's pet hamster. This was an extreme act of revenge.
This is not a good way to solve the problem. If she is accustomed to using this behavioral pattern to solve the problem, she may not kill again in the future, but she may use various other extreme methods. What if things continue like this? If there are huge conflicts in society in the future, how should we resolve them? So I think cruelty to animals is certainly a wrong choice, but cruelty itself is not the point.