What alternator is it?
Some alternator need a keyed hot to make it charge. Home brewed alternator switch? Likewise, and alternator can kill a battery over extended period of time, maybe a alternator kill/isolator switch?
Just wild ass guesses.
Good luck on that one.
Dan'l