Yes. The code you're downloading is free. Just like the words of Shakespeare are now free. But you need to read those words off of something. That "something" sometimes includes tracking. Why would a commercial company offer this for free?
Sometimes it's indeed charity. But we have no way of knowing it. Sometimes the value is analytics which they can use to fingerprint and follow you across other properties they have.