It is more common for black fathers to be absent according to certain demographic measures.
However: race is not the only factor to the statistic, and the statistic in not defined well through time.
At one point “divorced or never married mother” was the basis for the statistic. Shifting it to “father lives in a separate home” is better but still misses that you can live in a separate home and still be there for your kid. That’s before you get to adoptive fathers and all the other non-biological support roles.
For all those measures, economics is a better predictor than race. Race serving as an indirect measure of economics is its own can of worms and bias.
Finally, a question can be statistically valid and still be biased, inappropriate, or just rude.
“You’re black, so I don’t want to assume your child’s father is around” is all of those.
What’s the point you’re trying to actually make?
If it sticks out you’re missing the point of the chain of statements.
It’s not that the other statements are or are not statistically justified, it’s that making comments to people that are clearly being made because of their race and perceptions about their race is something that tends to happen regularly to black people and other minorities, and not so much to others.