This is not strictly related only to digital cameras. Older film based cameras often feature a focal plane curtain shutter, which "rolls" across the film plane and exposes the film horizontally or vertically. A very famous example of this is the racing car picture taken in 1913 by Jacques Henri Lartigue using a 4x5 Speed Graphic camera.

The shutter moves relatively slowly on this camera, when compared with modern SLRs, which gives the distortion of the racing car. The distortion is especially visible in the wheels, which appear to be leaning forward. This effect was later copied by cartoonists when they wanted to give the impression of speed.