I don't think they are actual "ghost spirits" per se, they don't look like any Shadowlands souls anyway.
They both used the sword so it might have something to do with the sword.
I think that because something similiar happened in Legion. (And don't even argue "Oh, he is just remembering the SoO cinematic because it's a reused voice line", because that would make no sense)