When the brain engages a task, motivating electrical energy is generated at a source and this motivation is defined by free will. If the task becomes too complex, we are at risk of overloading the supply. In this situation, endorphins intervene to sedate the source, effectively ending the task.
When endorphins don’t break the connection to the source in a timely fashion, we experience a seizure which again, effectively ends the endeavour. Whichever the solution, the involvement of endorphins ensures that we forget that these events took place, over and over again.