A few years ago, a mother posted a question on a parenting forum that thousands of parents immediately recognized: her in-laws doted on her older daughter but barely acknowledged her younger son.