What is the meaning of On_earth?

Expletive used for emphasis after an interrogative word.

Source: wiktionary.org