Random or passive failure removes the wish to try again
Clive Thompson is quoted saying failing only pleases if the game is fair and you had every chance. If a loss seems random, the player loses a sense of agency and with it the hope.
From McGonigal, 2011, ch. 4. McGonigal, J. (2011). Reality is broken: why games make us better and how they can change the world. New York: Penguin Press. ISBN 978-1-59420-285-8 (hardcover). (The copy is an e-book whose text file has no copyright page; its file identifier is 9781101475492, not matched in Open Library. No DOI.)