Ignition Module Question

some melt out over time, not sure if its due to bad potting material used or bad ground causing heat