Nature Physics, Published online: 12 September 2024; doi:10.1038/s41567-024-02650-6 The many faces of foams