Palestinian health ministry spokesman Ashraf al-Qudra told AFP the two men were killed “in Beit Lahia in northern Gaza after an Israeli strike targeted a motorcycle”.
The Israeli army immediately denied this, saying in a statement “contrary to Palestinian reports earlier today, the (army) did not attack in the northern Gaza Strip”.
Qudra named the two men as Hussein Ghazi Nasrallah and Mustafa al-Sultan, both in their 20s.
Family members at the hospital where the bodies were taken told AFP the two men were members of Islamic Jihad, a militant group that fought alongside Hamas in the last war with Israel in 2014.
The deaths came amid tensions between Palestinians and Israeli forces following United States President Donald Trump announced he would move the US embassy in Israel to Jerusalem and recognised the city as Israel 's capital.
Four Gazans, including two Hamas militants, have died since the announcement last Wednesday. Two were killed in clashes, while two others died in Israeli air strikes in response to rocket fire from Gaza .