CAIRO, EGYPT (CNN) -Egypt recalled its ambassador to Israel over the killing of three Egyptian security members near their shared southern border two days ago.
Later in the day, Israel issued a statement vowing to investigate the incident, and offering its "regret" over the loss of life.
The Egyptian Cabinet said it was withdrawing its ambassador until Israel conducted an investigation into what it called "indiscriminate shelling" that led to the deaths on Thursday, according to a statement on its website. Israel has vowed to conduct a military inquiry into the incident. Egypt sent a letter of protest to Israel's defense ministry on Friday.
The recall of the Egyptian ambassador comes amid heightened tensions in the region following Israeli strikes in Gaza after a series of attacks in southern Israel that targeted buses, cars and soldiers.
"In response to what happened, Egypt will use all protective measures to strengthen its side of the border region with Israel and support the necessary forces able to deter the infiltration of claims for any illegal activity or elements outside of the law, as well as respond to any Israeli military activity toward the Egyptian border," the statement said.
After intense meetings with security officials on Saturday, Israeli Defense Minister Ehud Barak issued a statement offering "regret" and vowing that Israel would conduct a military investigation, followed by a joint examination with the Egyptian military, of the incident.
"We regret the deaths of members of the Egyptian security forces during the terror attack on the Israeli-Egyptian border," Barak said. "The Israel-Egypt Peace Treaty has great importance and much strategic value for the stability of the Middle East."
No one in Israel's armed forces intentionally acted to harm Egyptian security personnel, Amos Gilad, a defense official involved in maintaining Israel's relationship with the Egyptian military, told Israeli Radio on Saturday. He also stressed the strategic importance of the 1979 peace treaty between the two countries.
Outside the Israeli Embassy in Cairo, hundreds of demonstrators gathered Saturday to protest the killings and demand Egypt sever its ties with Israel.
Egyptian state-run TV showed protesters burning Israeli flags and chanting "Egyptian blood is not cheap."
Israel believes that the attacks had their roots in Gaza, but were coming out of the neighboring Egyptian region of Sinai.
They come amid what Barak has called "the weakening of Egyptian control over Sinai."
The Egyptian claims of Israeli forces killing three of its security members and injuring four surfaced Thursday, the same day Israel launched airstrikes on Gaza.
Senior Egyptian military and security forces told CNN that two members of the Central Security Force and one military officer were killed in clashes east of Ras Al-Naqab, 13 kilometers north of Taba.
At the time, an Israeli helicopter was in the area chasing militants in the aftermath of the attacks on Israelis, said Gen. Saleh Al Masry, head of security in North Sinai Province.
"The Israeli ground troops engaged with armed militants 200 meters from the Egyptian border which may have also led to casualties on the Egyptian side," said Lt. Col. Amr Imam, the Egyptian army spokesman. "We have reinforced our border guards and raised the level of alert."
The rising tensions also come as questions are being raised in Israel about the Egyptian military presence in the demilitarized zone in Sinai, which was created under the terms of the Camp David Agreement signed in 1978 between Egypt and Israel.
Since the overthrow of Egyptian dictator Hosni Mubarak, the security situation in Sinai has deteriorated.
Senior Egyptian officials said several weeks ago that more than 23,000 prisoners escaped from prisons in Egypt in late January and February because of the breakdown in regime authority.
Additionally, travel between Egypt and Gaza has become much easier since the Military Council reopened the border crossing at Rafah in late May.
But along with traders - and Gazans just wanting a break from their cramped sliver of territory - there are signs that Islamist groups are taking advantage of weaker security. The crossing is the only land passage out of Gaza not directly under Israeli control.
Egypt said it has been cracking down on terror groups in its portion of the Sinai, exchanging fire with militants on its side of the border.
"The security at border has not been affected by the revolution, and no one from Egypt has crossed through to conduct the attacks on Israel," said Khaled Fouda, the governor of Southern Sinai, an Egyptian province.
He said the distance between where the Egyptian forces were attacked and the border of Egypt was too far to allow the sort of attack against the Israelis that sparked the strikes on Gaza.
Copyright 2011 CNN. All rights reserved.