You cannot deduct the cost of early education. However, the grandchild’s parent may be eligible for a dependent care credit (assuming you gave the funds to the parent who then paid the tuition). Pre-school tuition is a qualified expense for purposes of this tax credit.
A husband and wife who are required to live apart from each other by the terms of a decree of separate maintenance. Payments under the decree are deductible by the payor and taxable to the payee as alimony.