When you stretch or twist, tiny bubbles of gases are released in your spinal joints, which are responsible for the popping noises that you hear.