Distinct elastic properties and their origins in glasses and gels - Nature Physics