The name is said to come from a large snake known as "the Devil," believed to live among the boulders.
From Wikipedia (“Devil's Den”), CC BY-SA
Devil's Den is a boulder-strewn hill on the south end of Houck's Ridge at Gettysburg Battlefield, used by artillery and sharpshooters on the second day of the 1863 Battle of Gettysburg during the American Civil War.