When enough reports are received for a particular entity, Apple blocks or retroactively moves or deletes the message.
https://support.apple.com/guide/iphone/report-spam-and-block...