There are a
Few reasons why this could happen, it would depend on precisely where on the ankle it is coming from as the answer will be related to the anatomy.
I.E. On the outside portion it may be secondary to the peroneal tendons moving out of their anatomical groove because of a loosening of the soft tissue structure keeping it in place causing a snapping...It depends on the location. If no pain, no worry.