Sometimes the player who's info you're looking at is far away, and instead of adding them as a friend, it's a bit more convenient to be able to directly IM them.