Also consider that multiple bits of the gun are mechanically attached to each other. It looks like the accelerometer is attached to the barrel, whereas the majority of the rearward forces before bullet leaves the barrel is acting on the bolt. Even as a bolt action, there's plently of interesting mechanical interfaces to absorb energy and movement before transferring to the barrel.