Where does this expression "what gives" come from? Especially when used as "what's happening?"
I would think it's rather probable that it is a calque derived from the perfectly idiomatic German phrase "Was gibt's?". You see? "Was gibt's" <-> "What gives" Pretty close. Don't know why the author of the linked source (Brian Joseph) doesn't see this and only considers "Was gibt es?" which you will rarely hear in colloquial speech.
Instead the e in 'es' is mostly dropped, hence: "Was gibts?"
Although the meaning has deviated a bit apparently. In German it can only mean ~ "what's happening?" / "what do you want (from me)?"
The etymology is unknown; it is from at least 1940 in American English, and may have come from a calque in German, but there's not much evidence for this. In any case, it's covered in detail by Brian Joseph's What Gives with What Gives?. Here's an excerpt:
protected by RegDwighт♦ Jun 22 '12 at 12:01
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.