It could be because that is the outdated sexist opinion that the Judge has (which is a reflection of the Society’s existing culture). Having gone through the vagaries of the legal system myself, I get the impression that due to some unknown reason, the Family laws of most states are crafted in such a way that it is favoring and rewarding the less responsible individual in the marriage.
If you happen to be the one who is more hardworking, responsible and more productive individual, you get punished for that during and after the divorce in that they are very eager to make you a slave to the lazy, irresponsible and less productive one.
There is need to change these moronic laws.