Because when you find a gym leader out of their gym, they usually register their number in your pokegear so that you can call them for a rematch.
See here: http://pokemondb.net/heartgold-soulsilver/gym-rematch
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.