Here's why:
* Homograph: Words that are spelled the same but have different meanings and sometimes different pronunciations.
* Glass (container): A transparent vessel made of glass used for holding liquids.
* Glass (material): A hard, brittle, transparent material made by fusing silica with soda ash and lime.
So, the word "glass" can refer to both the material and the container made from that material.