I agree with Eddy & garyb, HD’s can fail at any time just like everything else and doesn’t matter how old.
Avast didn’t cause this.