Right side
王 supplies the sound with a tone shift: wáng → wǎng.
王 pictures three layers — heaven, humanity, earth — connected by a single vertical, the king as link between realms. Here purely phonetic; the regal meaning has no part. Same phonetic in
往 and
旺.