Who attacks the soldiers in the Civil War?

If it was the Confederate soldiers, the Union would attack the Confederates.
If it was the Union soldiers, then the Confederates would attack the Union.