Tilting a lens changes the plane of focus, thus altering the depth of field. Instead of the focus plane being parallel to the sensor, tilting makes it intersect with the sensor plane, allowing more of the scene to be in sharp focus at wider apertures.