If you change the image file on your server but a visitor of your site already has the image in his local browser cache, this allows the browser to detect that it must not use the obsolete cached version but instead request a fresh version from the server.
If you change the image file on your server but a visitor of your site already has the image in his local browser cache, this allows the browser to detect that it must not use the obsolete cached version but instead request a fresh version from the server.