Rise and fall of nonstabilizerness via random measurements | Synapse