5 alpha reductase is the enzyme that is necessary in the process of converting progesterone to allopregnanolone so finasteride, dutasteride by inhibiting these enzymes, reduce this conversion process, reduce allopregnanolone and this is why it can lead to an increase in anxiety and depression. Spironolactone, as far as I'm concerned, has very little effect, if any, on this process.