Not putting too fine a point on it, but Gandhi's non-violent resistance worked in the India of his time, because the British wanted both the labor and the natural resources, and killing all the former would simply have cost them.
In Gaza and Ukraine right now, the colonial powers simply want the territory, and are largely indifferent or are openly hostile to the continued physical existence of the people who live there.
replies(6):