If you own example.com and create ns1.example.com, that hostname sits underneath the same domain. For it to work as a nameserver, the registry needs to know the server IP associated with it. That registry-level host information is what people usually mean when they talk about glue or a child host record.
That is different from simply setting example.com to use nameservers owned by somebody else, such as ns1.provider.net. In that case, the nameserver belongs to provider.net and there is no child host under example.com to move.
Why this distinction mattersIf you are using ordinary third-party nameservers, there is usually nothing special to migrate. If you are running ns1.example.com yourself, the host object and its IP address are part of the setup you should verify after a registrar transfer.