Why would blacks be denied the opportunity to serve in some branches of the military?

They wanted to stay on the farms and work.
Many whites believed they were not capable.
They did not have the skills to serve.
They did not want to fight.