Children learn from others (parents). Smacking teaches them that violence is the best way to solve problems with others.