Hector's doom arises from both his character and fate, inextricably linked:
Noble character: His honor, duty to Troy, and love for family compel him to face Achilles despite knowing the prophecy. He chooses single combat over retreat, sealing his death.
Fate/divine will: Zeus's scales predestine Troy's fall and Hector's death. Apollo protects him temporarily but cannot override Zeus. The prophecy states Troy cannot fall until Hector dies by Achilles' hand.
Homer presents a tragic synthesis: Hector's virtues lead him to fulfill a destiny the gods ordained. He is a hero trapped between arete (excellence) and moira (fate).