The laziest of all headlines is “X is doing Y in response to Z” when X’s entire raison d’etre is Y and it was already doing Y and wants to do more Y and loves doing Y and would have done Y anyway.
No, the Israeli state is not ethnically cleansing the West Bank “in response to” an attack that killed two Israeli soldiers. The Israeli state is ethnically cleansing the West Bank because it has been doing so since 1967 and has made the subjugation or elimination of the Palestinian people its defining and paramount goal.