Definition of glass
1: any of various amorphous materials formed from a melt by cooling to rigidity without crystallization: such as
a: a usually transparent or translucent material consisting typically of a mixture of silicates
b: a material (such as obsidian) produced by fast cooling of magma
https://www.merriam-webster.com/dictionary/glass
________________________________
Definition of opal
a usually amorphous mineral that is a hydrated silica softer and less dense than quartz and typically with definite and often marked iridescent play of colors and is used especially as a gem
Thanks. Other than the hot melt for glass they seem similar.