Poisoning the well
From RationalWiki
Poisoning the well is a rhetorical technique and logical fallacy that uses the association of negative emotions to distract a subject from actual evidence in an argument. The usual method is to point out the unpleasant nature of the person making the opposing argument.

