Scratching is completely normal chicken behavior.
It’s how they look through litter and leaves to find food when they’re foraging.
They will also pick up tiny rocks (grit) and swallow them to help digest their food.
Since chickens don’t have teeth they swallow the little rocks to help grind their food in their crop.