The litter isn't the target; it's the feces buried underneath it. Referred to as coprophagia, eating feces occurs because dogs can smell food through the feces — in this case, cat food.