I've heard that IDA explicitly allows licensed users to decompile IDA itself. What's stopping someone from reverse engineering it transparently and making a competitor?
Mostly that Ghidra is open source and no one would be willing to go through the hassle of reverse engineering IDA when Ghidra is just sitting right there...
Patent law doesn't care about how you get to the same thing - independent invention does not work as a defense.
IANAL, I'm a random on HN, if you take this as legal advice I don't know what to tell you :D