Why does my dog try to eat glass!!!!!!!!!?

my puppy tries, to eat glass, he tries to eat the glass on my back door!!!!!!!!!!!
can you tell me why????????
(he’s 5 months old)