How is this possible?

This Rotom has a nickname. It also never left Pokémon Home, since it still has the Pokémon Home Mark. How could the nickname be changed?

This Rotom has a nickname. It also never left Pokémon Home, since it still has the Pokémon Home Mark. How could the nickname be changed?