Your IP address may show a different city if you’re connected to a VPN or proxy server with servers in that city. That may be the closest server to you, or simply the one that allows for the lowest bandwidth usage.