The sun melted the butter.
The butter melted.
Here, the subject was the object of the original sentence. The butter didn't melt itself- it required the heat of the sun. This is an ergative verb use, where the subject of the intransitive form of the verb would be the object of the transitive form of the verb.
Browse the following links to other content related to the term 'Ergative Verbs' from the 'General' grammar category: