с какого перепугу

Etymology
lit. 'from what (kind of) fright', with in.

Phrase

 * 1)  why on earth, why the hell