It was anticipated it would fail eventually. They will review this failure and use information from it to bolster their refurbishing program.
> For comparison, if a plane crashed after 23 flights everyone would assume it was a factory defect.
Planes are meant to fly well more than 23 flights so that's a bad comparison.
No other booster has flown more than 23 flights, this is unchartered territory.