The answer is when they perform completely a task they care about. It is because children has a sense of accomplishment when they finish a task, making their self esteem high as they feel that they have the confidence of doing what they are doing and showing their abilities or what they are capable of.