Question: how does moderation work in ActivityPub?
In general, when that happens the comment is removed on the host platform, then a deletion request is sent to the federated platforms. There is no guarantee that other platforms will delete the content (although if they don't, they are generally considered malicious and should be reported), much like deleted forum posts can be viewed through WebArchive.