The thermostat went bad and the temperature in the dishwasher rose high enough to distort the heating element. The distorted heating element touched the bottom of the dishwasher and caused some of the plastic to melt. Thankfully, it did not melt through!
With the help of AppliancePartsPros.com videos, I was able to easily replace both the thermostat and the heating element.