I'm not the parent, but I think it's clear: if I'm a charity, and I have a subordinate that is for profit, then I'm not a charity. I'm working for profit, and disguising myself for the benefits of being a charity.
Obviously, the for profit subsidiary ooerates for profit—and where its not a wholly owned subsidiary, it may return some profit to investors that aren't the charity—but neither the subsidiary nor the outside investors getbthe benefits of charity status.
The girl guides are a non-profit; they teach kids about outdoor stuff, community, whatever, they do good works, visit old folks, etc.
If for some legal reasons they had a subsidiary that sold cookies (and made a profit), with all the profits returned to the non-profit parent, I think that'd be ....fine? Right?