I used to be a good uphill and downhill runner.
As I got older, my uphill speed remained good but downhill speed decreased. (relatively).
What changed and what did not may help answer the question.
good uphill: low weight, good power to weight ratio, good endurance, good willingness to hurt, good ability to judge effort level, good ability to redline without going into oxygen debt, good running efficiency/economy.
bad downhill: less top end speed, less bounce/spring in stride, poorer balance, more fear of falling, increased memory of bad falls (trails), less flexibility, less explosive power, shorter max stride length, likely fewer fast twitch muscle fibers and the few that are left fatigue quicker, less willingness to take risks, less core strength.
On hilly courses, with all else being equal, the better uphill runners beat the better downhill runners because more overall time is spent running uphill. More time to gain (or lose) on uphills than on downhills.