Ketchup is a non-newtonian fluid. Unlike “magic mud,” its viscosity actually lowers when a force is applied to it. This is why ketchup will often pour out in such large unintended quantities after a little shake.