A carbon frame is a massively strong structure, almost like a cardboard tube, which is rigid up to a certain point when it collapses catastrophically. Also like a cardboard tube it''s easy for point penetration to happen and if a fork leg or a rear stay is locally damaged you might not even notice until you inspected the frame closely because the opposing leg or stay is strong enough to keep riding. So check it over by trying to crush the tubes between your fingers while listening for creaks and looking for surface cracks and pulling and pushing the different parts.