Light comes to an object and light leaves an object to be sensed by receptors. If you can bend light to prevent it leaving, you can bend light to make it show what is behind an object rather than revealing the object. In a night sky, prevenmting electromagnetic reflection makes something disappear as it flies over, except for blotting out star background.
Or you can just paint it black. Same thing. I see black stuff all the time. It’s not invisible. Except in the absence of light, and then everything is invisible.