The “cracking” sound is caused by a pressure difference in the synovial fluid when a joint is set in motion. There is an underpressure in the joint. Sometimes this also happens spontaneously, for example in the knee joint or in the feet. The same effect occurs when a cork is pulled from a champagne bottle.