If I, a person of color, am having emotional difficulty processing the anxiety I feel about police persecution after being exposed to information that my race is being disproportionately persecuted, I really need a healthcare professional that (at the very least) has knowledge on when to engage in trying to direct me from my anxieties vs acknowledging that I am experiencing a normal amount of anxiety for the situation. Part of this may in fact be wanting a healthcare professional who is of my race because I have been harmed in the past by professionals who did not share my race practicing inappropriate treatments on me.
Similarly, there are plenty of female patients that ask for a female doctor, even in non-therapy medicine, because plenty of medication, illnesses, etc. show differently for women.