Because she's a living puppet whose main purpose is to copy Roxas's abilities—and since Roxas is Sora's Nobody, she ends up mirroring Sora's skills.