A parasite doesn't stalk and hunt the same way a predator does prey. In this case, the larvae infect tiny fleas, which are then consumed by people and other animals drinking unfiltered water. It doesn't have a brain, as such; just a nerve ring and some sensory hairs that cue it to start eating once it is in the right environment.