The growth in the 529 is still tax-free when withdrawn if used for qualifying education expenses, whereas the daughter (or grandchild, if you use a UGTMA) will probably pay 15% long term capital gains when they cash out, and may also pay yearly tax on any dividends.