She needs to take her to the vet to rule out any type of physical problems such as UTI (urinary tract infection). Once she gets the OK from the vet physically, then I'd assume it's a behavioral thing.