This can happen if the app or service you're using relies on cached or stored location data. Cached location information may not always update immediately, causing your iPhone to display a location you visited in the past until it receives updated location data.