Noun
whydunit (plural whydunits)
A type of detective story in which the focus is not on who committed the crime, but what were their motives for committing it.
For me whodunit is almost always less interesting than whydunit. Source: Internet
Not so much a whodunit as a whydunit, this novel explores human motivations and relationships with sensitivity and authenticity. Source: Internet