Solitary magnetic structures known as SLAMS (short large-amplitude structures) have been considered essential elements of collisionless shocks with quasi-parallel geometries. Yet the physics underlying their formation remains an open question. In this paper, we use measurements from magnetospheric multiscale mission combined fully kinetic simulations to study SLAMS. We find that gyro-resonance ...