Situational irony occurs when there is a significant difference between what is expected to happen and what actually happens. This literary device creates a surprising twist in the narrative, often highlighting the unpredictability of life or the absurdity of human expectations.