The analogy doesn’t hold here. Ukraine shouldn’t persecute it’s Russian minority. (Hell, it’s Russian-speaking cities are lobbing Molotov cocktails at the invaders.)
And Palestine isn’t mounting an invasion of Israel, though if they had the capability, it’s uncertain they wouldn’t—the Arab nations tried twice.