as union soldiers lay on their stomachs and reloaded , they heard the sound of lead crashing through the branches and thickets above them as the confederates searched for their targets by trial and error .