Assuming the anchors have only 3 inches of embedment like you said, I would think it was due to bad concrete/ concrete not thick enough. How confident are you of the thickness?
Assuming the thickness and concrete is fine, fix this with grade 8 all thread and epoxy.