The ice and the water are the same pipe

With almost every fridge, you can’t filter just the ice maker—it shares the same water line as the dispenser. If you put an inline filter on the supply line, it filters both. That’s just how they’re built.

If you really want filtered ice only, you’d have to tee off the water line before it hits the fridge and run a dedicated filtered line to an after