Prevent overlaping loop cuts from merging
Most likely one of these two options is on:

Proportional editing, on left and the first edge loop is influenced when you move the second one

Auto merge vertices, on right and the vertices were actually merged when you moved the second one onto the first