Inverted yield curve

Is there any organic explanation why an inverted yield curve predicts a recession.

Long term rates staying lower than short term rates means to me there are more buyers of 20-year and 30-year bonds than t-notes or t-bills. So that implies rates will go down in the future too I guess and the current longer term bonds will beat the future rates. That implies inflation will have to go down too.