The main reason for shocks is drops but also other event result in shocks. When a car brakes or train shunting or another container is hitting a container it can result in freight flying against a wall.
Following videos are made at the same time both inside and outside a truck: