Melted distribution cap - Subaru Legacy 1991

Hi, any idea what will cause a destribution cap to melt? the car is a Subaru legacy 1991. the car was working fine until it melted. spark plugs are a bit low
and gap was adjusted.
thanks Ido
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.