Behavior-altering parasite
Behavior-altering parasites are parasites capable of causing changes in the behavior of their hosts species to enhance their transmission, sometimes directly affecting the hosts' decision-making and behavior control mechanisms. By way of example, a parasite that reproduces in an intermediate host may require, as part of their life cycle, that the intermediate host be eaten by a predator at a higher trophic level, and some parasites are capable of altering the behavior of the intermediate host to make such predation more likely; a mechanism that has been called parasite increased trophic facilitation or parasite increased trophic transmission.
Source: Wikipedia — Behavior-altering parasite (CC BY-SA 4.0)