Because diversity efforts are largely ineffectual and, if you are interviewed by people of your own race, unconscious bias will help you.
Some studies showed certain ethnic markers are harmful for applicants: https://www.nber.org/digest/sep03/employers-replies-racial-n... https://hbswk.hbs.edu/item/minorities-who-whiten-job-resumes...