The generalized Peierls–Landau instability: a novel perspective on the nature of glasses?