Reaction to nonsensical action or explanation. You are not clear. You are overlooking something important. The phrase is a sarcastic reaction to someone’s dumb explanation or intentions.
“Wait, after you married her, she left you for another man but you still are in love with her? Am I missing something?”