Stop in for a cup of coffee

I know exactly what it is the potting from the back of the regulator. Only way to stop it is to re pot it or change it out.

So what makes that happen? It's been there since I bought the car. Could something have shorted/overheated somehow?