Diane loses her memories in Seven Deadly Sins due to a magical spell cast by Gowther, a member of the Seven Deadly Sins. Gowther uses his mystical power, Invasion, to alter Diane's memories in order to protect her from the emotional pain of remembering certain traumatic events from her past. This leads to Diane experiencing memory loss and confusion, creating a significant plot point in the series.