In the iOS way, your guest can share the creds privately to another person.
In the normal way, your guest can share the creds verbally to another person, which might be overheard by other unintended listeners.
I guess the ideal would be to allow the network owner (which would be determined by what method?) to share to guests with a flag set for no further sharing (and no viewing of credentials).
I usually try to use this feature when traveling: either I or my wife will add the new Wi-Fi and share with the other. It works roughly 3/4 times, but the remaining 1/4 is infuriating because there’s no button to manually start the sharing and no info about why it doesn’t work.
I would prefer a reliable button to AirDrop the Wi-Fi credentials instead of unreliable magic.