Traitors, are an existence that no faction can tolerate.
And to some extent, the more powerful the faction, the more fundamental the conflict, the less they can afford to have traitors.
For the Heavenly Court and Top Immortal Sect, occasional switches of faction may only result in a loss of benefits and some damage to reputation, and as long as a sufficient price is paid, there is still a chance for redemption.
For instance, if you switch from the side of the Heavenly Court to an Immortal Sect, and at this moment even the power of the Heavenly Court cannot reach you, they can only make a note of it for the time being.
And switching from an Immortal Sect to the Heavenly Court is merely a loss of benefits, as long as the Heavenly Court offers some benefits, they can also temporarily endure it, after all, no one dares to easily break the current balance, as that would be a loss greater than the gain for the Immortal Sects.