Why was slavery a cause of conflict between American settlers and the mexican government