As I recall, they had the high ground and enough time to have entrenched themselves and their weapons effectively before they were attacked. Frontal assaults on entrenched positions have been at least a risky idea, and often a bad idea, since at least early July, 1863.
If you ever visit Gettysburg and stand up there here Pickett’s Charge was aiming, you’ll see it was a suicide mission.
since 1862. Lee launched a frontal assault up hill against the AOP at Malvern Hill. The results were exactly the same as at Cemetary Ridge, lots of casualties and nothing to show for the price paid.