You do realize you can "gift" money to your kids each year tax free. For 2022 it is $16K per parent. If you want to "gift" more like $100K you need to file a form with IRS which means the money comes out of your lifetime estate tax exemption.
The bottom line is that you can invest the money in a tax efficient ETF or mutual fund and gift it to a kid as a well without paying any penalty whatsoever.
Can I gift money to avoid capital gains?
If you don't want to pay 15% or 20% in capital gains taxes, give the appreciated assets to someone who doesn't have to pay as high a rate. The IRS allows taxpayers to gift
up to $15,000 per person (a couple filing jointly can gift up to $30,000), per year without needing to file a gift tax return.
For those considering gifting money or property to another person, gift tax can come into play. See 2024 and 2025 exclusion amounts and rates.
www.nerdwallet.com