Neither is true, because if it weren't for the sexual allegations, Roy Moore would have won against Jones by a double-digit landslide, just as he defeated establishment Republican Luther Strange.
Having said that, I mentioned on another thread that Trump's seemingly odd endorsement of Strange over Moore may have been strategic, if rumors that Moore's alleged "victims" would come forward and make a scandal were already in circulation. That's at least as plausible as the alternative explanation, i.e. that Trump endorsed Strange in order to get Congressional establishment Republicans to go along with aspects of his agenda in return.
The ugly truth is allegations = truth. Anyone who runs in the future is now dead in the water is this strategy is employed against them.