When using Eevee, an object with a glass material (in this case: Principled BSDF, trasmission set to 1.0) doesn't seem like it can be looked through: it's completely opaque.
See for instance the material for the blue cube in this scene:
How can I get my glass material to be transparent?