It may not be the rifle, too.
Federal .223 brass is well-known among competition shooters to be short lived. It is reputed to have less than HALF the life-span of other makes.
A couple of years ago, I bought 1000 "once-fired" Federal .223 cases from an on-line seller. The cases looked fine, as one would expect from "once-fired" brass.... few scratches or dings or other marks.
Even on my FIRST loading of this "once-fired" brass, I was getting case failures... shoulder splits and head separations, but mostly shoulder failures.
The rounds were being fired in FOUR different rifles, including one bolt-action and three semi-autos. Cases were failing in all four rifles, and the problem was not excessive headspace.
I ended up junking the entire thousand cases, with about 40% failures already having occurred. My rifles have demonstrated no further case failures when using other brands of bras... R-P, Winchester, Lake City.... all are working normally with long life-spans.
I will not buy Federal .223 brass ever again, and by preference will avoid Federal brass in other calibers as well. I will admit that I've had no such trouble with Federal cases in other calibers than .223, but still.....