DHS absorbed the Customs department, which has power to deal with issues surrounding counterfeit goods. The domains DHS has been taking down have redistributed digital content without license/permission, which DHS considers to be a form of counterfeiting.
(Not saying they're right, just explaining why they're involved.)