Here's why:
* Valor means great courage in the face of danger, adversity, or pain.
* Cowardice means a lack of courage, the tendency to be timid and afraid.
While there are other words that might describe a lack of bravery (like timidity or fearfulness), cowardice is the most direct and complete opposite of valor.