Question: do x rays pass through glass?
Answer: X-rays work just like visible light (in fact they're just a higher energy form of light) in that they are able to pass straight through some materials (just like light passes through glass) but not through others (just like light doesn't get through walls).