Regarding Palestine, a number of groups have done stuff on stage or donated money and so on, but there don't seem to be a ton that have written music specifically about the war. I'm guessing this is partly due to a lot of record labels supporting Israel on top of just so much other horrible shit going on in recent years. You could probably find more stuff if you looked for music by people from the countries directly involved.
Pretty much the same situation for Ukraine I think. Bands like Jinjer are vocally pro-Ukraine.
It's much easier to find one-off songs about a specific issue than like entire albums right now AFAICT (again probably partially because of how much crap is going on). A lot of groups also seem afraid to really hammer on specific points to avoid alienating fans I think, so it's sort of just the state of music as well IMO.