Why were African-Americans not allowed to fight in the war?

What happened at Fort Pillow? 

What was the result of the Battle of New Market Heights?