If someone whips up an emotion, especially a dangerous one such as hatred, or if they whip people up into an emotional state, they deliberately cause and encourage people to feel that emotion.
He accused politicians of whipping up anti-foreign sentiments in order to win right-wing votes...
= stir up
PHRASAL VERB : V P n (not pron) , also V n P into n