Bundling products using "Package files from other products, affect their inventory" does not send any codes configured to be sent for the individual component "sub-products". You would need to set up the bundle product itself to send codes of its own.
If you are using "Send stored codes":
You would need to provide the bundle product with a list of codes where each line would contain all the codes you want to issue to each buyer. You could even format the list to make it obvious which code on each line is for which sub-product. Regardless of any visible soft-wrapping of long lines in the codes box where you paste in your list, we only consider a deliberate "hard return" to divide one code from the next in the list, so you could paste in a pre-formatted list like this:
Item A: 1PKMCDQKLY Item B: SJXWVK2FDQ
Item A: LXF2BCR2P0 Item B: B0ZRHLGS1N
...etc.
If you are using "Send generated codes":
Then you could set that up with the URL of a keygen script that generates or obtains the code for each sub-product required and outputs those codes together. We just take whatever raw text output your keygen URL provides and then we forward that as-is to the buyer. For instance, if you have separate keygen scripts for each sub-product, you could set up the bundle product to hit a "wrapper" script that just hits those other individual keygen URLs and combines their output however you wish as its own output for us to forward to the buyer.