In the US there is specifically Section 230 - which legally absolves X of any liability from user generated content. That is unique to the US, in Europe, social media companies don't enjoy those same legal protections and field all sorts of requests for removal of content from government.
As a European living in Europe, presumably you're aware of the passage of the Digital Services Act which puts legal requirements on large platforms to have systems in place to tackle disinformation.