This is a phenomenon called focus breathing. With
With some lenses, especially macro lenses such as the Canon EF 100mm f/2.8 Macro USM lens, this effect can be substantial - atsubstantial—at the minimum focusing distance, the focal length becomes about 70mm. WhileWhile this is not normally a probleman issue in still photography, it can pose a problem in video shooting as it can cause the angle of view to change while racking or following focus. CineCine lenses are generally corrected for focus breathing, but lenses designed for still photography are often not corrected for this behavior.