Why Is My Kitten Eating Cat Litter?

My kitten is about 6 months old and has been eating the litter. She eats it, I change her litterbox and she goes back to doing it again. Why does this happen?