God's visitation of the fathers' sins on the children is never a simple punishment of innocent children for what the fathers did. The children are always guilty themselves of a sinful and rebellious life as the fathers' sins bear fruit in the lives of their children. (Exodus 20:5-6; Deuteronomy 5:9-10)
Source: Desiring God Foundation, 2000. 1 pages.