This can happen if you are using the stove at a low temperature where the fire isn’t hot enough to combust the sooty deposits. 

A good hot burn should get rid of any build up on the stove glass, you can also try cleaning the inside of the glass with glass cleaner, or the ash from the stove using a soft cloth or newspaper to vigorously rub the glass.