The Israeli military claim that Beerat was one of three men carrying firebombs under cover of darkness who were spotted by an army patrol. They said he was shot after ignoring warning fire.
Israeli soldiers said al-Ramahi was shot during what they described as a mob attack on an army position in the refugee camp.
The shootings follow a series of violent clashes in the West Bank amid growing tensions between Palestinians and Jewish settlers.
Israel has been urged by the US to dismantle illegal settlements in the occupied West Bank and remove about 500,000 Israelis living there.
Palestinians say that the illegal settlements are a major stumbling block to a peace deal with Israel.