Because she drew Sora and Roxas, and when she did, they're memories got mixed up, and Xemnas, who fought Sora in KH1 in Hollow Bastion, took some of SOra' memories and found out.
True Fact
(Jk, but that's all I could think of)
True Fact
(Jk, but that's all I could think of)