2 sentences
The expression "什么鬼" comes from the internet; it's an internet slang term.
Source: 大鹏说中文-Speak Chinese With Da Peng · Daily Chinese Expression 276 鬼才知道这是什么鬼!Intermediate Chinese podcast -Speak Chinese with Da Peng (2:57)那就是因为搞不清楚状况,不明白这到底是什么,不明白发生了什么,从而感到非常疑惑的时候,在这种情况下就可以说什么鬼,或者这是什么鬼,再或者搞什么鬼。
nà jiù
shì yīn wèi gǎo bù qīng chu zhuàng kuàng, bù míng bai zhè dào dǐ shì shén me, bù míng bai fā shēng le shén me, cóng'ér gǎn dào fēi cháng yí huò de shí hou, zài zhè zhǒng qíng kuàng xià jiù kě yǐ shuō shén me guǐ, huò zhě zhè shì shén me guǐ, zài huò zhě gǎo shén me guǐ. That is, when you feel very puzzled because you can't figure out the situation, don't understand what on earth this is, or don't understand what happened—in this kind of situation you can say "what the heck," or "what the heck is this," or "what the heck is going on."
Source: 大鹏说中文-Speak Chinese With Da Peng · Daily Chinese Expression 276 鬼才知道这是什么鬼!Intermediate Chinese podcast -Speak Chinese with Da Peng (4:56)