Because, in the 1990s, Pixar's IP was more popular than Disney's. The story (as I remember it from a Jobs biography) was that, in the Disney parks, there were longer lines for Pixar characters than Disney characters.
Someone in leadership (don't remember the name) basically swallowed pride and bought Pixar from Jobs. It was considered a "reverse acquisition" because Jobs had so much stock he technically controlled Disney afterwards.