This often happens when you miss an NPC during your playthrough and you start exploring again after getting the Legendary Pokemon. Lol they're too confident to face you when you just want to pass them through. You know it's going to be a landslide victory haha.