It's a learned behavior
Today, I got a phone call from my daughter’s school. Turns out, an African-American girl approached her and tried to play with her, but my daughter cut her off and said, "I don’t want to play with a black person." I have no idea where she learned this. FML