When no passphrase is entered the agent asks twice for the passphrase of a key and you have to confirm twice that you do not want a passphrase.
As we recommend keys without a passphrase (instead of pinentry-mode loopback) for several use cases, generating a key without a passphrase should be more user friendly and the repetition of the question feels like a clear bug.