After you use IP replace MyHost, the QUIC connection will remove the Server Name Indication extension in the initial stage. But the HTTP3 RFC requires SNI extension MUST send to server (https://www.rfc-editor.org/rfc/rfc9114.html#name-connection-establishment) in order to establish connection.
That's the difference between two requests, looks like a bug in iOS system framework.