It doesn't have to be spontaneous. The key point of an ergative verb is that it can be transitive or intransitive, and its subject when it's used intransitively is its object when it's used transitively. "The window broke / John broke the window" is an excellent example.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.