The distinction lies in whether the service provider has rendered themselves a "publisher" under 230. The protection has historically been broadly interpreted but, in theory, Facebook could lose the protection if it chose, selectively, what content to promote or remove in violation of its own public TOS. Generally:
https://crsreports.congress.gov/product/pdf/LSB/LSB10306