Yours is a strength issue. I’ve got first hand knowledge of this problem 😉
Spend more time working on developing max strength for step ups AND step downs. You’ll be pleasently surprised how the increase in strength translates in to increased (muscular) endurance.
I’ve got wimpy legs and this has worked well for me over the years.