Not been on facebook fore some years now, but it is not "just" a medium. It is optimized to keep you on the site as much as possible, to show you as many ads as possible. This comes with the hard price of showing you what is divisive, as it keeps you engaged. So they do are responsible for prioritizing divisive posts and allowing ads that are so well targeted that they can make you tilt.