I've never heard of gardenella, but I know that bv is not always sexually transmitted. The cause is actually unknown, which is why some people get it confused with stds. I don't know why your doctor told your mother that!
"it may be sexually transmitted, but there is some thought that it is vertically transmitted from mother to daughter at birth."
hopefully you can find more info on it than I could. Good luck!