So anytime that some folks become unhappy with the US, it is okay for them to attack one of our emabassies, and, we, seeking not to offend, should just pack up and leave.
You cant be serious.
It probably is a good idea to reduce our presence in that part of the world, but it cannot and should not be done on those terms.
1. The government of that country is hostile to the U.S.
2. The government of that country is not hostile to the U.S., but it is incapable of protecting U.S. citizens and diplomatic assets from that countrys own citizens.
There are only these two possibilities here, and either one is indicative of a situation where the U.S. shouldnt have normal diplomatic relations with the country in question.