Squaresoft was in some big financial trouble after spending a ton of money to make Final Fantasty Spirits Within which complete failed to make any money, Enix came in to buy them as they wanted the Squaresoft name since Squaresoft was able to enter the western market which Enix themself had failed to do so. So basicly they both needed each other for money reasons.