I own a Ford Focus and to this day I don't understand why sometimes the gear shifts make this cracking noise when decelerating to zero, but only when it is raining.
Is it a 2012-2016 model? Those have the PowerShift transmission (known as the PowerShit on forums) that had a class action settlement, though I think it's too late to cash in on that.