In recent months , the Pentagon noted , '' The core conflict in Iraq changed into a struggle between Sunni and Shia extremists seeking to control key areas in Baghdad , create or protect sectarian enclaves , divert economic resources , and impose their own respective political and religious agendas . ''