America has a long history of torture. From enhanced interrogation during the Iraq War all the way back to the Salem Witch Trials, torture has featured prominently in the story of the country.
The question of why it happened is a question of power and fear.