I thought it a bit strange if a country prohibits foreigners, especially Muslims to visit the country.

many people who agree with me. what is the reason Donald trump, ban Muslims entry to the United States. and we know the importance of a sense of religious tolerance.

thank you
First of all, Donald Trump didn't ban the adherents of a particular religion. He temporarily suspended the immigration from seven countries for a period of 90 days until more effective vetting could be put in to practice. And this suspension is applicable for all the people in those countries. It is not just for the Muslims.
The truth is that rather than the problem being with the "Ban that Trump created" the problem was with the completely free borders concepts that Obama was implementing.
That is false. There were increases in deportations and a very long vetting process already in place under what Obama implemented. Trump just wants to make sure he is happy with it and maybe tweak it.
I don't think that is correct regarding the so-called "Syrians" who had no paperwork or proof of identity.
Were they allowed in with no vetting?
I doubt that they were released without verification. Now the terrorist attacks on America will not. For them the number one target Europe. Muslims and Putin is not satisfied with a United Europe. For America they will take then.
There was no way to vet them, because there was no government infrastructure operating in Syria. That's what started this whole issue, if I recall correctly.
So yes, they were being let in without vetting, without any background check. Avoiding the customary system. Obama and Clinton would have had us like Europe.
Do you have evidence of this? And, once Trump starts to re-admit Syrian refugees - will this change or just be back to where it was? Also, how specifically was it different under Bush? Did he have an executive order that made things different? If so, which one? Or was there a law that applied differently that Obama repealed?