It's possible she has full or impacted anal glands.......sometimes that gets pretty painful. If she still whines if you hold it up and act like it hurts her, I'd have a vet check it out.