Gothitelle and Dark Matter

Has anyone noticed that at least two Gothitelle in the game can use Dark Matter - Diana’s Gothitelle and the Gothitelle from the Azure Flute Emergency Defence System - and yet the player can’t teach it that move?