why are there different theories of cognitive development