Why did we stop with the old recyclable glass soda bottles and deposits?

It seems like it was a good way to encourage people to recycle. I remember not all that long ago, if you wanted a case of soda you got it in glass bottles with a deposit, when did we stop doing this?