There are millions of galaxies out there in the entire universe. When a telescope is set to a direction to to identify the stellar objects, it can capture all lights from all the objects. How do we identity that the particular light is emitted from one star/galaxy and not the other one?
Even if we precisely point to one star, there are chances that other luminous objects interfere with the light ray.