The glaring difference between the two is our level of active involvement.
Solidarity is one thing. Actually doing something about Sudan would require some sort of deliberate intervention.
In the case of Gaza we could likely make a huge difference if we just stopped arming the aggressors.
We don’t send arms to Sudan. We don’t send arms to Putin. We don’t send arms to the Sri Lankan military. We don’t send arms to Boko Haram. We don’t send arms to Myanmar.
Do you consider yourself these people’s friend?
If you’re completely disinterested in their milestones, that sounds more like an acquaintance.
But to your question, yes. I actually care about these things for acquaintances and random people too. There are limits to how much I care but it’s not zero.