Russo brothers say Bucky couldn't be the new Captain America because of his "damaged mind"
At the end of Avengers: Endgame, Steve Rogers makes an important choice without seeming to make any choice at all. After going back to the past to return the Infinity Stones and Mjolnir (in order to avoid disrupting the other timelines created by their shenanigans), Rogers stays in the past so he can live a normal, superhero-free life with Peggy Carter. Then, once he catches back up to the present as an old man, he presents Sam Wilson/The Falcon with his shield—and therefore the mantle of Captain America. It wasn’t a particular surprising choice, but the thing that was surprising was the way Sam was automatically accepted as the right choice, even though Bucky Barnes was right there and also has a bit of the enhanced abilities that are theoretically important to being Captain America (not to mention a cool robot arm).