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.
The gift tax limit is the maximum you can give someone without having to file a gift tax return with the IRS. The limit is $19,000 in 2025 ($38,000 if married).
www.nerdwallet.com