When researchers look for a planet around a star, they only need to look at a small part of our sky. Not so for nearby objects.
Plus, they can exploit the fact that stars with planets nearby will exhibit patterns of brightness, etc.,—if the planet is in the right orbit, has a great deal of mass, along with other parameters.