Why he had marry again what is the grammatical name

The phrase "why he had to marry again" is a question formed in the past tense. The grammatical name for this type of question is an interrogative sentence. Specifically, this is an interrogative sentence that is asking about the reason or cause for a past action (marrying again).