Adaptation fueled by experience helps to set a faster pace for cognitive growth.
And then a new view of the world is possible (assimilation).
The baby accepts any bottle until one day someone puts pink medicine in it that smells and looks different, and tastes bad! The baby now has a need to discriminate colors and smell. After doing so, (accommodation again) she/he will no longer accept bottles filled with pink, which are preceived as unsatisfying (assimilation).
Each experience, is like the "tick" of a clock, which marks off the progression of the childās development along the continuum of cognitive growth.
One can see that having needs to solve, and being able to solve them is a healthy process for cognitive growth.
Of course, needs that are traumatic and/or unsolvable are destructive and to be avoided if possible. More desirable are needs to learn how to manipulate toys etc.