  Recently, remarkable anti-glitch and glitch accompanied by bright radio
bursts of the Galactic magnetar SGR J1935+2154 were discovered. These two
infrequent temporal coincidences between the glitch/anti-glitch and the fast
radio burst (FRB)-like bursts reveal their physical connection of them. Here we
propose that the anti-glitch/glitch and FRB-like bursts can be well understood
by an asteroid tidally captured by a magnetar. In this model, an asteroid is
tidally captured and disrupted by a magnetar. Then, the disrupted asteroid will
transfer the angular momentum to the magnetar producing a sudden change in the
magnetar rotational frequency at the magnetosphere radius. If the orbital
angular momentum of the asteroid is parallel (or anti-parallel) to that of the
spinning magnetar, a glitch (or anti-glitch) will occur. Subsequently, the
bound asteroid materials fall back to the pericenter and eventually are
accreted to the surface of the magnetar. Massive fragments of the asteroid
cross magnetic field lines and produce bright radio bursts through coherent
curvature radiation. Our model can explain the sudden magnetar spin changes and
FRB-like bursts in a unified way.
