Hard drives do fail - as you say, out of nowhere.
I've seen it happen with brand new drives, right out of the box - I've also seen hard drives last nine years (and counting) - call it kismet, call it karma, call it luck.
If it's brand new, it should be under warranty, RMA it, get it replaced and move on.