Obviously not, but products and people are generally treated differently. Hell, even commercial products and free products are often treated differently.
They intentionally opted in to sharing their work with you in a certain way. If someone copy pasted stack overflow answers and made them into a book, which they sold for money, that would be wrong.
People do do that. But I think that's a bit different because they add very little extra value. It doesn't take any effort. Why should I give them money?
Copilot is different - it clearly takes a lot of skill and effort to turn a bunch of GitHub repos into a fancy autocomplete system.
Those authors are getting views and imaginary internet points for their work, which is often times more valuable than money to programmer types. It's not like people write SO posts for a salary.