Humans lived in a large commune before they built houses for their own families. There was no cultivation or agriculture, and no way to save food for the next day. It is said that men used to walk at least 10–15 km every day in search of food. They either hunted or climbed trees.
Historically and anthropologically, women did not hunt; it was mostly men who did. And when they brought home a big kill, they had to feed the whole commune, not just their own families. Hence, it was necessary for stronger men to step forward to clean, cook, and serve food. This legacy still continues wherever there is a large crowd—marriages, the army, and hotels are often run efficiently by men, without complaining or announcing to the world that they are being exploited.
When human society split into individual families and the concept of the commune broke down, that may have been the time when women started cooking for their children and then for their husbands.
Genetic memories are always stronger than adopted ones. Hence, even today, men have no problem hunting, cutting wood, or cooking. In fact, many of the best chefs in the world are men, and if you tell them they belong in the kitchen, they won’t get offended—they take pride in it. But on the other hand, since cooking was never originally a woman’s job, many still complain and whine about it if asked to handle the kitchen.