SWIFT moves messages, not money. Settlement happens in the accounts banks hold with each other; the message tells them what to do.
That distinction matters for sanctions. Disconnecting a bank from SWIFT does not freeze its assets; it removes the standard way of instructing payments, which can be replaced, slowly and badly, by other channels. The structured message formats are also what makes automated screening possible, and therefore what stripping attacks.