I know several friends who prefer to be in the office because they need some amount of time away from their young kids. It's the equivalent of "them" time where they get an escape from child care for a few hours.
I actually felt that way as well (and I have dogs, not kids). I felt like 2 days a week in the office was like a mini-vacation from home. Other than the commute (which negated most of the benefit) getting out of the house felt like socializing.
Where is the kid then when they are at the office? Probably in childcare then not left alone with a stove if they are at the bug you all day age. You can put them in childcare wile working remote too.