Riding the yield curve strategy

Hi everybody, I need your help regarding the riding the yield curve strategy.

When shorting short term bonds why the risk lies when spot price increases ? It mechanically increases as the bond reaches its maturity.

Is there any part I’m missing ?

Thanks for your help.