If one stretches a piece of material it not only gets longer but also thinner: it contracts laterally. In case of steel for example lateral strain amounts to 30% of the longitudinal strain. In case of beams with a large ratio of cross section height to span this effect influences the displacement response.