"why he had to marry again"

What is the grammatical name of the above expression?

The grammatical name of the above expression is a interrogative sentence.