Complex sentence: The child realizes that they are dependent on others and thus it loses the idea that they are independent, a realization which creates a difficult period and brings frustration and anxiety with it.
Split into simpler sentences: The child realizes that they are dependent on others, thus losing the idea that they are independent. This realization creates a difficult period and brings frustration and anxiety with it.