Green’s Dictionary of Slang

what the hell...? phr.

also what the hell’s fire...?
[cits suggest orig. RN use; hell, the phr.]

[mid-19C+] a general intensifier for a question (cf. where the hell...? phr.; who the hell...? phr.).