Apparently Wildberries carry/carried over 1/4 million items tagged as "for SMO" (Special Military Operation), so they had become a major part of the supply chain for Putin's war, which is why they were hit.
Cutting off the enemy supply line is a classic and obvious military strategy. Ukraine didn't choose to be attacked, nor did they choose for Wildberries to become part of the supply line. They are playing the cards they were dealt, and I would say doing so with remarkable restraint.
What's supposed to be the argument against it, inconvenience for American shoppers during a war of aggression?