Imbalance is the root cause
Wet clothes clumped on one side of the drum create an off-centre mass that wobbles the drum at high speed.
Spin speed multiplies the problem
The shaking force increases with the square of rotation speed, doubling the RPM quadruples the vibration force.
Machines are designed to absorb it
Counterweights, suspension springs, and rubber dampers are built in specifically to reduce vibration reaching the floor.
Myth: shaking means the machine is broken
Some vibration is normal in any top-loader or front-loader. Severe shaking usually means an unbalanced load or worn suspension, not a broken machine.