I think it's harder to block Mastodon because there are many instances. You can block the main ones, but people can still use smaller ones to access content from all Mastodon instances.
Twitter has one domain and probably a known IP range. Mastodon has (at least) hundreds of domains and IPs.