While aliens haven’t been important to the X-Men movies previously, they’re key to the bonkers story that was created in the comics, though the new film certainly does still take some liberties.
The fact that aliens play a part in Dark Phoenix seems to be a deliberate attempt to make this version of the popular Dark Phoenix Saga from Marvel Comics get over with fans better than what was done in X-Men: The Last Stand.