Why do spray paint cans rattle when shaken ؟

Why do spray paint cans rattle when shaken ؟