How was the axle nut installed??? Impact or tightened and torqued down manually??? In my 50years in service, I have seen so many pinion seal replacements lead to a pinion bearing failure in a short time do to the technician relying on his trusty impact wrench rather Than taking 5 minutes to grab the holding tool and tighten it with a ratchet. Can you get away with using an impact??? yes many times and again somewhat an operators feel, but sooner or later it will catch up.
a second point is Someone pressed that bearing into that hub, it could have been damaged then the bearing could have been damaged in manufacturing or even took a major fall during transportation, thus the warranty on the new part. There is also a wide range of bearing and hub price and quality in the aftermarket. These can all be contributing factors to failure.