Facebook hard-code IP addresses when their domains are blocked. I found this out while using NextDNS alongside that logging functionality that iPhones have. It’s insane the lengths that they go to.
Sounds like an anti-censorship or a generic connectivity robustness feature [0]? WhatsApp and Instagram do this, too.