Phantoon

According to the game's official manual, Phantoon uses its powers to tap into Mother Brain's brain waves, which causes it to be an ally of the Spcae Pirates.

Once the deadly boss is defeated, the Coverns, enemies who appeared on the ship, will stop appearing. It is unknown why.