because males are biologically more physically powerful, so originally it was normal for them to do tasks that required being stronger or faster, while females did other tasks that were not as physically taxing, such as cooking
over time that evolved into the nuclear family where the wife still did the same tasks, and the husband found the best employment to financially support the family