Palestinian police say a group hurled rocks at the Israeli troops, who responded with fire and fatally shot Mohammed Khalefeh.
The Israeli military confirmed the account, saying that its forces were attacked with pipe bombs before they responded. Israeli forces routinely carry out arrest raids in the West Bank against wanted Palestinian militants.
Since 2015, Palestinian attackers have carried out numerous stabbings, shootings and vehicular assaults that killed 40 Israelis and two visiting Americans. Israeli forces killed 235 Palestinians in the same period, most identified by Israel as attackers.
Palestinians say it stems from frustration over decades of Israeli rule in territory they claim for a state.