What’s your opinion about the business of the colored troops on the wall, and the white troops in the bombproofs?
They may have volunteered, many were very eager to show they could fight, and wanted to fight the Rebs they hated.
Their command may have been larger, since there were no mixed units, one or the other commands had to man the wall.
The white troops may not have been combat ready for some reason and were held in reserve.
Black troops were very aware of their no-quarter status and wanted to fight first to determine their own fates rather than rely on white troops that might surrender them.
In fact, the reason both offers of surrender were refused is that the blacks knew what their fate would be and strongly objected to being taken prisoner, they were right.