Some sources said they came from space but what makes more sense is the clip above. Maybe the phantoms really had no goal in life but destroying Jamaa( that will never happen,..or will it?) You can't really blame Mira,..or the phantoms. The destructive goal of phantoms is like our goal of getting something in Animal Jam.
Maybe they are ghosts!