Hindi doesn't have a word for 'the'. So in a sentence where there is no article (एक, यह, वह, हमारा, उसका, etc.) then it is assumed that we are talking about 'the glass'.
I answered "Glass is smaller than the bottle" and it said i am wrong ... I am a native speaker of Hindi and can confidently say that Duolingo is wrong .