Its because the left is all about feelings and emotions, and thinks we are the same way. Thus, although they do not care about morality, they stereotype conservatives as caring only about morals. So when they criticize a conservative candidate for supposed immorality, it is a calculated ploy to depress support for that candidate. If enough conservatives can be swayed to sit out the election by the lefts emotional manipulation, then the Democrat wins.
The strategy unfortunately has a high success rate. Voters were persuaded to sit out and not vote for Roy Moore, so a Democrat took what had been a Republican seat. The ploy isnt as effective against Trump because weve known him for decades and its hard to spring a surprise on us regarding his behavior. When leftist activists pay women to tell stories about him, we are not very inclined to believe them.