Transient stripping of subducting slabs controls periodic forearc uplift