Because that’s the terms of the license. You can use it as long as you don’t commercially profit from the freebie. More than reasonable to me.
So as one "work" publish the items with a less restrictive license. And as a second "work" publish your compilation of the first work.