I don’t know if you’ve ever been to “divorce court” but judges ask all kinds of questions that really are none of their business. They insist they do this in order to “protect” the party born w/o penis.
I’ve never been to divorce court and don’t see any likelihood of going. However, I hope we will see changes to get away from the tabloid nonsense. One reasonable change would be eliminating these questions when they are not relevant. A second change would be to prosecute for perjury when salacious and false allegations are used to get custody or sympathy alimony. I know far too many men who have been victims of obvious lies - and women who have told obvious lies under oath, either out of anger or to get custody.