Every child is unique and so is the behavior displayed by every child, based on the situation.
Every behavior, which a child displays moment by moment, is a result of the tiny brain processing a decision and behaving a certain way. Based on our percussive vibrations and repeated reactions, whether we make him/her right or wrong, the child realizes, what is acceptable and what is not acceptable and slowly the behavior becomes a habit and probably goes on to form the nature and personality of the child.
For instance, if a child has fallen down and hurt himself very badly, and the adult who is accompanying the child, yells at him for not being careful. This can and might happen over and over again during the growing up years of the child. When the child becomes old enough to understand, he makes a decision in his mind, it is bad to fall down or fail in any process.
In another instance, a child spills a glass of milk and is berated, shouted upon for not taking care and creating a mess, she decides involuntarily, if I make a mistake, I will be scolded. As she grows, she starts to feel bad and guilty about making mistakes.
Or maybe, the child is laughed at, for a mistake he has made innocently, and the incident is repeatedly told to every member of the house ( it might seem like a harmless joke to the adult members), but the child might develop a fear for a lifetime. He might decide, that if I make a mistake, people will laugh at me.
There could be many such instances, which form or shape the way a child behaves, and builds up his/her nature, and we the people at home are the ones, who provide the building blocks to them.
So, next time you encounter a mistake of your child, be a responsible adult and choose the building block you wish to provide them.