The contrast of the film is mainly influenced by changes in development. More development gives increased contrast and less development gives decreased contrast. Both overexposure and underexposure lower contrast.
Having said that, you can change contrast through exposure errors that have important parts of the scene fall on the toe or shoulder of the curve. These areas have inherently lower contrast than the middle straight-line portion of the curve. Wherever the curve is arched, the contrast is lower than the adjacent straight portion.
Underexposure and overexposure push areas of constant (hopefully "normal") contrast into these lower contrast regions and affect the detail that should be present in them.
Joe