Wiktionary
why in god's name
interj. (context idiomatic English) used to add emphasis to "why" when beginning question.