Said to someone who has just done something annoying to you.
Sometimes used in place of What the hell?, Seriously?, or Why did you do that?
I'm enjoying my lunch in the school cafeteria. Douchebag walks by and knocks my milk all over my food.
Me: "What gives?!?"