I’m assuming you are using one of the official import scripts or at least based your import script on the base importer.
At first it tries to guess the name from the email address:
And, if the original username was changed during the import (e.g. because it contained Chinese characters, which aren’t allowed in usernames) then it will set the name to the original username.