This is because the AI is programmed to take surrounding rebel settlements before faction held ones.