For some time now each of the Services have been undergoing a draw-down.
Naturally, you would think that they would cut those with significant misconduct or performance issues, and that there should be any number who would fit into that category.
Here is an interesting piece about some of the reasons most Army majors have been let go.
It’s all about evals (and timing I would say), not racially motivated.