I've been wondering that too. All they wanted were to get back their hearts and all they needed to do was have Sora kill heartless. That isn't evil! Heartless are evil! Maybe it was because they were going to turn characters with strong hearts (like beast) into heartless to help form kingdom hearts faster.