A Palestinian teenager opened fire at IDF soldiers in the northern West Bank Sunday morning and was shot dead along with a second teenager in an ensuing firefight, the army said.

The troops shot the two after coming under fire while patrolling outside the Israeli settlement of Hinanit, near Jenin. The soldiers arrived in the area in response to reports of a rock throwing incident, the army said in a statement. There were no injuries on the Israeli side.

“Earlier this morning two Palestinians armed with a rifle attacked IDF soldiers,” the statement said. “The perpetrators hurled rocks at passing vehicles west of Jenin. When forces arrived at the scene an assailant opened fire at the soldiers. The force responded to the shooting and fired toward the attackers, resulting in their deaths.”

The Palestinian Health Ministry confirmed that two teenagers had been killed near the village age of al-‘Arqa in Jenin. They were identified by the Health Ministry as Nihad Raed Muhammad Waked and Fouad Marwan Khaled Waked, both 15 years old. Unconfirmed reports said they were cousins.

A Palestinian Red Crescent spokesperson told the Palestinian Ma’an news agency that IDF troops prevented them from reaching the scene to provide medical treatment. The army, however, denied the accusation. “The ambulances arrived to the scene and entered, [the soldiers] didn’t restrict their access at all,” a spokesperson said.

It was not immediately clear how many Palestinians were involved in the incident. According to Arabic media, a number of Palestinians were involved. The IDF, however, said only two people were involved in the rock throwing and ensuing firefight. The army said it opened an investigation into the incident.