The attenuation is frequency dependent.
Road buzz is high frequency with very small amplitude, which CF and resin material attenuate well.
Pedal forces are low frequency, and frame flex is high amplitude (relative to road buzz). CF frame geometry is designed to mitigate this.