Before you allow WiFi on Legends Arceus, all the names belong to NPC’s.
After allowing WiFi, you get names from real, random players.
Source: I didn’t turn on WiFi on my Switch to prevent updates for a while, and when I did and allowed wifi connectivity in-game, it went from basic NPC names to real names in different languages and memes.