It's been years and years since I've had a hamster, but I always had them when I was a kid. I remember them being mean if I didn't handle them often enough. But if this just started happening, maybe she's just getting grumpy and sore in her old age.