Evidently during the donation process CNCF requires them to give them the trademarks so they own it.

That’s true. The problem here was that Synadia never fully transferred the trademark, seemingly in bad faith. When Synadia told the CNCF that it needed to transfer NATS back, they claimed that the CNCF didn’t own the trademark and therefore didn’t own the project.