Physicists shatter stubborn mystery of how glass forms