To the casual eye those are two distinct issues. Child labour is like a child protection thing, and labour protection is like a commie socialism thing.
I’m no expert, but these things are historically intertwined. The fact that we even have laws against child labour is a product of 1930s labour organizing.