People get very silly about comparisons.
It is possible, and often useful, to compare two things that are in many ways different, or where they are not equally serious, or whatever. You are comparing one element, not saying that they are the same thing.
Often with a comparison like that, the whole point is that they are differernt, that is why you want to compare them, to look at the element that is the same and isolate it.
DA here wasn't even comparing Israel and Ukraine, that is just sloppy thinking. She is comparing a person supporting Palestine, the country, in a political setting, to a person in the same setting supporting Ukraine. And asking if they would be seen the same way by the general public, and if they would both be fired in this scenario.