Former SIE president Yoshida explained that Sony wanted to work on the sequel to Demons Souls with FromSoftware, but the developer turned it down and instead decided to work with Bandai Namco on what would become Dark Souls.

Source: N4G PC FromSoftware didnt want Sony to publish Dark Souls due to how Demons Souls was treated