Trump has previously said he would like the United States to take over the Gaza Strip and its Palestinian population resettled elsewhere.
"The safety of US citizens is our top priority," the US Embassy in Guatemala tweeted, thanking the local government for its assistance.
"Israel doesn’t have to ask our permission. They’re a sovereign nation. Israel doesn’t have to ask the United States 'Hey, can we defend ourselves?'"
The sharp rhetoric and tightened security come against the backdrop of a decades-long rivalry between India and Pakistan, which have fought three wars since gaining independence in 1947.
The site also offered a list of actions to take for those who are currently in Israel.
Hamas likely finds it easier to encourage attacks on Israel and the US abroad. It can then deny responsibility for these attacks.
Trump added: "I am Israel’s best friend. I moved the embassy to Jerusalem—everything was good, including the Abraham Accords, and every major positive event in Israel recently was because of me.
British Police said earlier that officers were investigating a suspect package in the vicinity of the US Embassy.
According to the bill's explanatory section, the law only applies to new embassies, and existing embassies will remain in place.
The US Embassy in Beirut remains open to process emergency passports and other services, the State Department stated.