The main reason for the bloodbath was the lack of realisation on both sides of the need for new tactics for the waging of war with the technological developments wrought by the industrial age.
Both sides general staff went into the war with a 19th century playbook against (admittedly early), 20th century weaponry.