ARP and the first hop
IP addresses name the two ends of a whole path but each link delivers by MAC address, so a host sends anything off its subnet to its default gateway and finds the gateway's MAC address by broadcasting an ARP request, which is why the MAC addresses change at every hop while the IP addresses stay.