The development is likely due to neural networks sprouting in her frontal lobes.
Frontal lobes are parts of the brain that are involved in motor, problem solving, memory, language, initiation, judgement ,impulse social and sex behaviors. Neural networks are interconnected groups of nodes, similar to the vast network of neurons in the brain.