The president defended the Homeland Security secretary and offered a curious theory about why she's been getting so much backlash.