Palestinians dance while flying a Palestinian Islamic Jihad Movement flag reading in Arabic "there is only one God and Muhammad is his prophet," during celebrations in the West bank city of Ramallah, late Sunday, July 20, 2014. The Hamas' armed wing said it has captured an Israeli soldier during fighting in the Gaza Strip. Speaking on a Hamas television station, spokesman Abu Ubaida said "we have captured a Zionist soldier and the occupation has not admitted that." The claim could not immediately be verified and the Israeli military said it was investigating the report. (AP Photo/Nasser Nasser)

Palestinians launch fireworks during celebrations in the West bank city of Ramallah, late Sunday, July 20, 2014. The Hamas' armed wing said it has captured an Israeli soldier during fighting in the Gaza Strip. Speaking on a Hamas television station, spokesman Abu Ubaida said "we have captured a Zionist soldier and the occupation has not admitted that." The claim could not immediately be verified and the Israeli military said it was investigating the report. (AP Photo/Nasser Nasser)

WASHINGTON (AP) — President Barack Obama called Monday for the international community to focus on ending the fighting in the Gaza Strip, as Secretary of State John Kerry arrived in the Middle East to make a renewed push for a cease-fire between Hamas and Israel.

Voicing fresh concern about civilian casualties, Obama reaffirmed his belief that Israel has the right to defend itself against rockets being launched by Hamas into Israel. Yet he contended that Israel's military action in Gaza had already done "significant damage" to the Hamas terrorist infrastructure and said he doesn't want to see more civilians getting killed.

"We have serious concerns about the rising number of Palestinian civilian deaths and the loss of Israeli lives," Obama said. "And that is why it now has to be our focus and the focus of the international community to bring about a ceasefire that ends the fighting and can stop the deaths of innocent civilians, both in Gaza and in Israel."

As Obama spoke from South Lawn of the White House, Kerry flew to Cairo, where he planned to join diplomatic efforts to resume a truce that had been agreed to in November 2012. He will urge the militant Palestinian group to accept a cease-fire agreement offered by Egypt that would halt nearly two weeks of fighting. More than 500 Palestinians and 27 Israelis have been killed in that time.

The Obama administration, including Kerry, is sharpening its criticism of Hamas for its rocket attacks on Israel and other provocative acts, like tunneling under the border. At the same time, the U.S. is publicly encouraging Israel to take further steps to prevent Palestinian deaths.

White House spokesman Josh Earnest said Israel and its military have standards for avoiding the deaths of innocent civilians, Israeli or Palestinian.

"We would like to see Israel take greater steps to ensure that they're adhering to those standards," he said.

Two Americans, Max Steinberg of California and Nissim Carmeli of Texas, who fought for the Israel Defense Forces were killed in fighting in the Gaza Strip. The State Department confirmed the names of the two U.S. citizens Sunday night.

Cairo's cease-fire plan is backed by the U.S. and Israel. But Hamas has rejected the Egyptian plan and is relying on governments in Qatar and Turkey for an alternative proposal. Qatar and Turkey have ties to the Muslim Brotherhood, which is also linked to Hamas but banned in Egypt.

Making the rounds of Sunday talk shows, Kerry said Hamas needs to recognize its own responsibility for the conflict.

Both Obama and Kerry have said Israel has a right to defend itself Kerry accused Hamas of attempting to sedate and kidnap Israelis through a network of tunnels that militants have used to stage cross-border raids.

Kerry said on CNN's "State of the Union" that Hamas must "step up and show a level of reasonableness, and they need to accept the offer of a cease-fire."

The nearly two-week conflict appeared to be escalating as U.N. chief Ban Ki-moon was already in the region to try to revive cease-fire efforts.

Obama, in a telephone call Sunday, told Israeli Prime Minister Benjamin Netanyahu that Kerry was coming to the Mideast and condemned Hamas' attacks, according to a White House statement.

The U.N. relief agency in Gaza estimates that 70,000 Palestinians have fled their homes in the fighting and are seeking shelter in schools and other shelters the United Nations has set up.

U.S. officials said Hamas could bring relief to the Palestinian people if it agrees to a cease-fire proposed by Egypt — a view Netanyahu is pushing as well.

Netanyahu said in an ABC interview that Israel has tried to avoid killing Palestinian civilians by making phone calls, sending text messages and dropping leaflets on their communities. But Hamas doesn't "give a whit about the Palestinians," Netanyahu said. "All they want is more and more civilian deaths."

The prime minister said his top goal is to restore a sustainable peace, but he then will ask the international community to consider demilitarizing Gaza to rid Hamas of its rockets and shut down the tunnels leading into Israel.

___

Follow Lara Jakes on Twitter at: https://twitter.com/larajakesAP

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

*We welcome your comments on the stories and issues of the day and seek to provide a forum for the community to voice opinions. All comments are subject to moderator approval before being made visible on the website but are not edited. The use of profanity, obscene and vulgar language, hate speech, and racial slurs is strictly prohibited. Advertisements, promotions, and spam will also be rejected. Please read our terms of service for full guides