President Trump made no sense Wednesday when he blamed strained US-Russian ties on special counsel Robert Mueller’s Russia probe.

“Much of the bad blood with Russia is caused by the Fake & Corrupt Russia Investigation,” Trump tweeted, after earlier declaring that America’s relationship with Russia is worse than ever.

Yes, Washington and Moscow are at odds on several fronts. But, sorry, Mr. President: That has nothing to do with Mueller.

Fact is, Vladimir Putin has been increasingly hostile ever since moving on Georgia, Crimea and Eastern Ukraine. He aims to subvert European and US political systems, including through cyberattacks. His minions recently poisoned a former British spy and his daughter on UK soil. He and Syrian butcher Bashar al-Assad work together bombing hospitals and gassing civilians.

Trump’s right that Putin shouldn’t partner with “a Gas Killing Animal” like Assad. And this president’s actions have been far tougher than Barack Obama’s, with serious new sanctions last week against Putin’s inner circle and dozens of diplomats expelled after the UK poisoning attack.

But Trump’s words Wednesday made it seem like Mueller, not Putin, is at fault. Investigators have found no collusion, he tweeted, so “they go crazy!” — referring to the raid of his private attorney’s records.

The whole “collusion” case may be utter junk; and certainly Democratic operatives wish to undermine Trump. But the Kremlin isn’t angry about the inquiry — it’s thrilled by the turmoil Russian meddling caused.

Trump also tweeted off-base after Russia vowed to shoot down US missiles aimed at Syria in response to its recent chemical attack: “Get ready Russia, because [missiles] will be coming.”

Huh? Trump spent years chiding Obama for “broadcasting when we are going to attack Syria.” The Twitterverse erupted with quotes of his 2013 question: “Why can’t we just be quiet and . . . catch them by surprise?”

Please, Mr. President: Think before you tweet.