According to Osho, shame arises when knowledge makes us self-conscious and split from our natural innocence. Awareness introduces judgment and comparison—especially against animals—so we condemn our bodily, instinctive life, clothe it, and create guilt. This suppression divides us into a cerebral 'higher' self and a denied 'lower' self. True growth accepts our animal heritage and uses awareness to transcend, not to vilify.
When we start judging ourselves after learning, we feel ashamed because we think our natural, animal side is bad—accept it kindly and grow beyond it.