The cognitive theory was proposed by Liben and Bigler and they essentially extended gender schema theory.
They suggested there are 2 pathways to gender development, the first being the acknowledgment of gender schema which directs gender appropriate attitudes and behaviours.
The second pathway described how gender schemas are affected by the activities a child engages in.
If personal interests are more dominant it can influence the development of gender schemas often leading to androgynous behaviour, flexible attitudes or someone’s opposite gender identities.