Interestingly, the US has never had a recession that wasn't preceded by an inverted yield curve, but not every yield curve inversion has been followed by a recession.
This is incorrect. Most recessions in the post WW2 period have been preceded by an inversion of the 3m/10y UST curve, but it did not precede a few recessions in the USA during the first half of the 20th century.
[0] http://bonddad.blogspot.com/2011/07/yield-curve-and-pre-ww2-...
To address the GP’s point, the relationship could be fabricated, but the data don’t indicate that that’s happening.