That can be faulty alternator or the small gauge wire that plugs onto the back of alternator is grounded somewhere. The insualtion on that wire can disintegrate and leave the wire vulnerable to shorting to ground by contacting any part of engine it touches.