Emergence of foams from the breakdown of the phase field crystal model.