Triple descent and the two kinds of overfitting: Where & why do they appear?