
Laugh on the other side of your face
Emotional Shift
The phrase often indicates a sudden change from happiness to disappointment or embarrassment. 
Expectation vs. Reality
Used when someone's expectations are not met or turned out unfavorably, especially after being confident or boastful. 
Conversational Tone
It's informal and best used in casual conversation rather than in formal settings like business or academic writing. 