Answer:
He got his nickname at the Battle of Bull Run in Virginia. During the gunfire and confusion of the battle, Confederate Gen. Barnard E. Bee said, "There is Jackson standing like a stone wall." The soldiers under his command came to admire his stubborn courage and started calling him "Stonewall" Jackson