The more judgemental you are, the more punitive you are, the more you will stop your child confiding in you. They will still want to please you, to get your approval, but they will do it by putting aside honesty, by putting aside their real self, perhaps at the expense of their mental health.