Since the usb c is reversible, the configuration pin of USB PD Charging(named Configuration Channel) remains on both side.

So charger provides two CC pins, which is cc1 and cc2. And cable connects randomly to cc1 or cc2 (cuz you don’t know the direction where you’re plugging the type C cable).
But it doesn’t create any problem if you connect the C to Lightning cable in normal use.

However, if you make the C to Lightning cable’s male C port to Female C port, the cable should have two CC pins(like charger) to work properly. But it doesn’t.

That’s why we have to make the Magic Box that makes two CC pins from charger to one CC pin, on cable side. And that’s the PCB that we’re gonna make.
If you can’t understand, that’s okay. You might understand it after playing around with the cables and connectors.
And, before explaning about the PCB, you might think like: