Differences between conditional and marginal effects
The two effect are equaled when the link between the exposure and the outcome is linear, or when there is no effect. In contrast, in case of non-linearity (odds-ratio or hazards-ratio for instance), the conditional and marginal effects can differ.