In the moment they had no way of knowing for certain. One course could risk another 4 years of someone who goes to Russia for help in an election, the other definitely works against Russian interests. That's not some dangerously political decision, it's just being sane and pragmatic when both decisions actively alter the outcome.