What’s the legal reason here though? That’s a genuine question, I don’t know much about US law.
It's just like how Walmart.com doesn't ship to China. That's legal. And if I'm in the US, and I put a Chinese address on my Walmart.com account, and they don't ship me a package, that's not discrimination, that's just a mistake.
Now, if Namecheap starts intentionally going after people of Russian origin outside of Russia, that's a different story, but it doesn't look like that's what's happening here.