It's a good question. Everyone would be having different prospective about this.
I think business should be a business until or unless it is creating a problem for any of these two countries. Yeah, I agree that they are under sanctions and they should be because all necessary and possible steps should be taken to stop wars.
But like on this level, like we as freelancers, if we are not breaking any TOS nor we are doing any politics then we are good to go and to provide the top quality service possible.
Hope this would help.
Thank You!