The magic lies in the cornstarch particles. Under slow motion, they have enough time to move around each other. However, with a sudden, strong force, they are pushed together, momentarily interlocking and forming a rigid, solid-like structure that resists deformation. Once the force is removed, they relax back into their liquid state.