Why did the Battle of Frederickburg start?

It blocked the Union's route to the CSA capitol in Richmond.