The Palestinian Authority government said the explosions in Gaza harmed the image of the Palestinian cause. In a statement carried by Wafa, the official Palestinian news agency, the government said the attacks undermined the efforts of the government to advance the reconstruction of Gaza after Israel fought Hamas in a 50-day war there this summer.

Residents have been jittery since the fighting ended in August. Ghalya Adnan, from the badly damaged neighborhood of Shejaiya in Gaza City, said that when she heard the blasts early Friday she thought for a moment that the war had resumed.

In Jerusalem, an Israeli teenager who was critically injured Wednesday when a Palestinian driver deliberately plowed into pedestrians died early Friday, according to hospital officials. Shalom Aharon Baadani, 17, a yeshiva student, became the second person to die in the attack. He was riding his bicycle back from the Western Wall when he was run over by Ibrahim Akari, a resident of the Shuafat refugee camp in East Jerusalem with ties to Hamas.

An Israeli border police officer was also killed in the attack. Mr. Akari was shot dead at the scene by another police officer after he got out of his vehicle and tried to hit passers-by with an iron bar.

That attack came against the background of a dispute over access to a religious compound in Jerusalem known to Jews as the Temple Mount and to Muslims as the Noble Sanctuary. Some nationalist Israelis have been pushing for the right to pray at the site, where clashes between Muslim protesters and the police have erupted in recent weeks.

Friday Prayer at Al Aqsa Mosque in the compound passed in relative peace; the police limited access for male worshipers to those over age 35. After prayer, scattered disturbances were reported in some areas of East Jerusalem and the West Bank.

The new foreign affairs chief of the European Union, Federica Mogherini, called on Friday for a lowering of tensions, “verbal and on the ground,” and described the recent events in Jerusalem as “extremely worrying.” Speaking in Jerusalem on her first visit to the region in her new diplomatic post, Ms. Mogherini also called for a resumption of direct Israeli-Palestinian talks and criticized Israeli settlement construction on lands that the Palestinians claim as part of a future state.

In his welcoming remarks, Prime Minister Benjamin Netanyahu of Israel pointedly reiterated his concern over the possibility that Iran might become a threshold nuclear state. The comment came weeks before a late November deadline for a comprehensive nuclear agreement between Iran and the world powers.