Comment: It was cruel to block people who were already approved to come to the USA.  It was like inviting someone to your house only to slam the door in their face.

As for immigrants/refugees/visitors from those countries under the travel ban, it was more akin to not inviting someone over in the first place.  You're under no obligation to invite people in the house, especially if there are murderers hiding within their midst - better to give financial aid.

It should be added that Muslim refugees from Syria are safely (though sadly not comfortably) ensconced in camps in Turkey and Jordan, and can return when the civil war ends (as they are part of the majority group).  Religious minorities like Christians and especially Yazidis are not so fortunate - nor do many particularly want to return to a country where they were subject to genocide.

Canada, incidentally, has yet to give refuge to a large number of Yazidis.