Analysis: US government fails Security 101

How did the US government fail to prevent a digital leak of over three million classified and highly embarrassing documents?