The Alt wire get very hot on 2002 Volkswagen Jetta TDI

Can anyone tell me why the wire that run from alt to the fuse panel on top of the battier to get so hot and when it got that hot my AC wont work which the fans run to the fuse panel also on top of the battier.