"Vad är fel?" could be used in a context where I have indicated that something is wrong with your text, and you would like to know which bit of it is wrong. Something like "Which bit of this is wrong?" or "Show me what sentence is wrong.".
Or it could be a moral thing: "What is wrong and what is right? = "Vad är fel och vad är rätt?".