Cats are attracted to the washing machine's movement and sounds, which mimic the instinctual play of chasing prey.