How Trump's planned visit to the Western Wall spurred controversy

A junior U.S. official said the wall was not part of Israel.

The problem began when American officials were doing a site survey ahead of the president's stop at the holy site.

Israeli media also asked to have access to cover the visit and were told no, according to Israeli Channel 2.

The conversations got more heated from there, according to published reports, with a junior American official telling an Israeli official in the prime minister's office that the Western Wall is "not your territory. It's part of the West Bank."

But the remark about the Western Wall’s location outraged Israelis.

“The view that the Western Wall is part of the West Bank was received with shock," the Israeli official said.

But is the remark on the wall's being part of the West Bank contrary to Trump's policies?

The Western Wall in Jerusalem's Old City is the outer wall of what Jews call the Temple Mount, a remnant of the holiest site in Judaism.

Sensitivities over this tiny piece of land, less than half a square mile, tie into questions about the future status of Jerusalem which for decades has been one of the sticking points to any Israeli-Palestinian peace deal.

Trump's visit to Israel and the occupied West Bank will come days before the 50th anniversary of Israel's capture of the Old City of Jerusalem during the Six Day War in 1967. And in the 50 years since, the United States has not recognized Israel's sovereignty over the area.

This is why the U.S. embassy in Israel has since it opened about 50 years ago been in Tel Aviv, not Jerusalem. And it's why for any American born in Jerusalem, their U.S. passport lists the birthplace simply as "Jerusalem," not "Jerusalem, Israel."

It has been a complex diplomatic balancing act for every U.S. negotiating team in the Middle East as the status of Jerusalem has long been considered the thorniest of so-called "final status" issues that can be decided only in negotiations between Israel and the Palestinians. The Israeli government claims Jerusalem as its "eternal capital," and the Palestinian government claims East Jerusalem as a capital of its future state.

On Monday, Trump's new ambassador to Israel, David Friedman, landed in Tel Aviv and drove straight to the Western Wall to say a blessing in both English and Hebrew.

“We wanted to come straight to the holiest place in the entire Jewish world, the ‘Kotel Hamaaravi,’ the Western Wall, straight from the airport," Friedman said. “I had the opportunity to say some prayers, prayed for of course the health of my family … I prayed for the president and I wished him success, especially on his upcoming trip."

When Prime Minister Netanyahu thanked the ambassador for his symbolic first stop, Friedman replied: "There was no other place else to go."

But back in Washington, White House officials didn't stray from past U.S. policy on the Western Wall.

Also on Tuesday, another U.S. official waded into the fray. In an interview with the Christian Broadcasting Network, the U.S. ambassador to the U.N., Nikki Haley said: "I don’t know what the policy of the administration is, but I believe the Western Wall is part of Israel and I think that that is how we’ve always seen it and that’s how we should pursue it … We’ve always thought the Western Wall was part of Israel.”

In fact, the U.S. has never officially recognized the Western Wall as part of Israel. But complicating the issue for the Trump administration is the president's promise during the campaign to move the U.S. embassy from Tel Aviv to Jerusalem, which would be a de facto recognition of Jerusalem as the capital of Israel.

A senior administration official told ABC News this week that the president will not make any announcement during his trip about any possible move of the embassy.

“Right now there are no plans to do anything in that regard,” the official said. “The president said during the campaign that he believes the capital of Israel is where the embassy should be, but because we’re having great conversations with everyone right now we don’t think it would be a time to do that so we don’t plan to do that on this trip."

ABC News' Jordana Miller contributed reporting from Jerusalem. ABC News' Alexander Mallin contributed reporting from Washington.