How Resource Extraction Can Trigger Conflict