Generalized symmetries, gravity, and the swampland | Synapse