Over the years, public response to these types of attacks on candidates have shifted, especially in the wake of the #MeToo movement, said Jennifer Lawless, a professor at the University of Virginia who has spent years studying the intersection of gender and politics. Research shows women who push back and call out the behavior are often rewarded. But the threat of such harassment can still deter women from running.