The people who decide these things (journalists, I guess?) have ordained that “Black” should be capitalized while “white” should not. And I hate that I’ve told you this because I’m not a fan of the asymmetry, and you quite likely don’t care (I don’t blame you if you don’t!), but I suppose it’s exactly the sort of thing that Google Docs now warns about.
Apparently there is more disagreement about this than I realized. People started capitalizing Black in 2020. It seems to be more popular to lowercase white than to uppercase it, but not all organizations are aligned on this question. I wish they’d left both lowercase!
They'll definitely capitalize it when they're talking about White Supremacy. And by that I don't men 'Men In Pointy Hats', I mean 'Friends', the TV show, as an example of White Supremacy, and I'm not even kidding.