Some planets are legendary planets, as indicated by the legendary planet icon. When a player gains control of a legendary planet, they also gain control of its legendary planet ability card.
This is the official Living Rules Reference wording under Planets.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.