Hector was doomed by his noble character. Hector agreed to fight Achilles who was invulnerable in order to protect his brother who couldn't face the situation he caused. Hector died because he defended his brother to the death, which serves as testament to his noble spirit but also the cause of his death.