Understanding the origins and applications of fast radio bursts (FRBs) has become one of the most rapidly evolving fields in astrophysics over the past decade. FRBs are short-duration (sub-second), broadband, and highly dispersed radio pulses, primarily emitted from distant galaxies. Neutron stars and magnetars are considered among the most promising candidates for FRB origins. The first direct link between FRBs and magnetars was established in 2020 when an FRB was detected from the outbursting magnetar SGR 1935+2154. Broadband analysis indicates that the X-ray burst associated with this FRB had a significantly different spectrum compared to other bursts detected half a day earlier during a burst storm. The process by which FRBs are generated remains unclear. In our study, we observed two spin-up glitches occurring within a 9-hour interval, bracketing the FRB emitted from SGR 1935+2154 during its 2022 outburst. This observation suggests the possible energy sources for the observed X-ray activities and the FRB itself. Additionally, we witnessed a burst storm, a mini outburst, and a substantial flare approximately two hours before the FRB, indicating that significant amounts of energy and angular momentum were released from the magnetar. These phenomena could explain the rapid spin-down observed between the two glitches. Notably, a spectral softening during these events hints at a change in the magnetospheric environment, suggesting that these X-ray activities might clear the surroundings, and hence enables coherent radio emissions to escape from the magnetar’s magnetosphere.
