Think of it like email servers. My emails go through mine, and yours go through yours, but if I know your address I can still send you a message.
It doesn't matter that I'm on Gmail and you're on Protonmail. Just like it doesn't matter that I'm on ruby.social and you're on mastodon.online.
It's email servers for social posts.