> Because it's their product. They're permitted to do whatever they want with it.
No, they're not. https://en.wikipedia.org/wiki/United_States_antitrust_law
No, they're not. https://en.wikipedia.org/wiki/United_States_antitrust_law
Yes, they can't literally do whatever they want, but in this instance, it's their code, their servers, their data (in a sense), they're permitted to define how others may use it, and use it in a separate way themselves.