Why wasn't the Confederate flag banned after the civil war ended?

The Confederate flag is the flag of the Confederate States, ie the Southern States that seceded before the start of the Civil War. Since the North won the Civil War and the South was defeated, why did not the U.S.A. then ban the production, distribution and display of the Confederate flag?

13 answers 13