Chalk it up as a learning experience for the little girl. None of my rodent pets lasted very long when I kid either.
I had several guinea pigs as a kid, and even though I took such good care of them, none of them lived very long. And they were every bit as affectionate and loyal as the family dog.