Innocent people being killed is important enough to harm people by telling them they’re not welcome to holiday with you, because you disagree with what their government is doing. Yes, that is a form of collective punishment. No, it is not as bad as being killed because you happened to be born Palestinian.