Maybe you didn't know what you were seeing? People don't often openly say, 'I'm not hiring them because they are black'. They don't necessarily think it; they think, 'I'm not as comfortable with this person' and 'I don't know how they'll fit into our team', without even realizing why.
DEI trains people to be aware of those feeling and thoughts and double-check them. Most people don't want to make decisions in that way and appreciate the training.