Barack Obama said his estrangement took root in controversial remarks by the former pastor.