This phrase comes from a superstition that waking up on the left side of the bed is bad luck. Did you wake up on the left side today? You're so irritable.
Pro Tip 2/3
Expression of Mood
Use this phrase to describe someone's unusually bad mood, not just minor irritation. Watch out for the boss, he got out of bed on the wrong side this morning.
Pro Tip 3/3
Humor Tone
The phrase is often used humorously to lighten the mood when someone is grumpy. Uh oh, looks like Mike got out of bed on the wrong side today!