I hear this sentiment a lot when it comes to people trying to justify why Ukrainians or Iranians are somehow less deserving of their attentions, and it infuriates me every time. If the goal is to try to prevent unjustified killings, then it makes no sense.
It makes perfect sense. In a democracy your government (supposedly) represents you, thus the actions of your government are those you are partly morally responsible for and partly have some control over. If Russia or China is selling AK47s to warlords in Sudan, there's not much that westerners can do about it
I personally raise awareness about Ukraine and Palestine in equal measure. But there is fundamental difference: Israelis will stop their violence on Palestinians the minute they lose support of the US and Europ, whereas the West doesn't hold the same leverage over Russia.