Many theories have been written to describe the gender role, how it is formed. For example, The Evolutionary Psychology Theory of Gender says that different roles in reproduction places different pressures on males and females, which creates gender roles as the man being the more competitive and violent figure, while the women being more involved in nurturing activities. The Social Role Theory of Gender says that gender roles are formed by psychological gender differences caused by contrasting social roles of women and men. The Social Cognitive Theory of gender states that children's gender development occurs through observation and imitation of gender behavior. While my conclusions will not be based on these theories, they do help explain the formation and change of gender roles across time.
Let us have a jump in the past. For more than 7000 years of human history, since agriculture and early States emerged, men were dominating the society they lived in, from the micro-world of families to the public macro-world of education and work. They have been tasked to provide for their family, from hunting and bringing home food for survival, like in our earliest days, to go to work and earn a paycheck and bringing home the bacon, like in our recent times.
On the contrary, women were not even considered legal entities, persons in the legal sense. Until the end of the 19th century, an educated woman that was actually able to read books and have her own