why does a glass tumbler break when boiled water is poured into it

Glass is a poor conductor of heat. when boiling water is poured into it, the inner wall of the glass become very hot and expand. at the same time the outer portion of the glass wall remain cold and do not expand so quickly due to this difference in inner and Outer wall temperature, strain is set up in the glass and it breaks.