Earlier quoted context omitted.
The problem with glass is that it isn’t biodegradable. If it gets broken, it can cause a hazard for humans and wildlife. If it gets thrown away, it’s not going to break down. Glass is good for the ideal case, but not great for the other use cases. For milk and juice, it’s seems like thick paper might be a better option, since it’s biodegradable and recyclable.
Glass is literally molten sand. It will break down just like the rock breaks down. It's not toxic or hazardous, except when it's freshly shattered, but these super sharp edges weather relatively quickly, after which they aren't any sharper than natural found rock. This not to say that we should just don't care and throw away glass anywhere we want, but it's really not a huge deal, unless you hate seeing glass pebbles…
Glass actually takes a long time to lose its sharp edge unless it's dumped in a river or the ocean, which is in fact a great way to dispose of glass.
There really is no better way to dispose of garbage than dumping glass in the ocean... returning silica to its source in a way that doesn't look bad.