It doesn't. Trump has struck Russian ally Assad for chemical weapons use. The Russians complained but didn't do much about it. US troops also killed about 200 Russianskilled about 200 Russians who were attacking a US-held oil facility in Syria. It's a complicated story; the Russian command in Syria says they were mercenaries, not Russian soldiers. All the same, the message was loud and clear.
The Russians also support US environmentalist groups they view as helpful to their oil industry. Trump has supported the US oil industry, approving oil pipelines, for example, and supporting fracking. That's a big deal for the Russians, whose exports are largely energy products. And US oil production is booming.
Like everyone else, the Russians probably thought Clinton would win. They may have hoped to weaken her (as President) by discrediting her. It hasn't worked out for them.