Various possible causes, but i'd cut down on thepellets. At her age unless she's a large breed she should only have1/4-1/2 cup a day. I'd start with the 1/2 cup & taper down to1/4 in a week or so,, then see how the poo is. If you later slowly addgreens she may only need 1/8 cup pellets.
See...