She was raised by her surviving white parent and relatives. Her black relatives were not interested.
So your genes matter and you can’t claim to be black, but your genes don’t matter and you can claim to be a girl when you’re a boy.