Edit: The most original idiom I can find is “piss in one's corn flakes” which basically means to irritate or disappoint someone. Asking “who pissed in your corn flakes” is a variant of this, meaning essentially, “why are you in such a bad mood (what/who pissed you off?).