Question: can ghasts spawn on glass?
Answer: They can't spawn on slabs or glass or bedrock. You must have solid blocks or double slabs somewhere they can spawn on.