The wording sets where you start counting
You got 70 on your final exam. If you had expected 60, that's 10 points more; if you had expected 80, the same 70 is 10 points short. The score didn't change; what changed is where you counted from. Wording can move this starting point too. "Saved" makes people count from "nobody saved", so saving 200 is a gain. "Die" makes people count from "everyone safe", so the same outcome becomes losing 400 lives.
Call it a loss, and people are willing to gamble
Prospect theory describes a pattern: with each extra unit gained or lost, the feeling grows by less and less. On the gain side, saving 200 already brings a good deal of relief. Winning the gamble would save 400 more but add little more relief, and losing it would save nobody, so most people take the sure 200. On the loss side, 400 deaths already feels nearly as bad as 600. Another 200 deaths can't feel much worse, while the gamble gives a one-third chance that nobody dies, so most people gamble.
Show only one side, and people score by that side
The two sentences about the certificate course are not like the epidemic problem. No risk is involved, and the only thing that changes is how favorably people feel. People first score by the side the sentence shows; the other side they have to work out by subtraction, and most don't. If the two sentences are put side by side, no subtraction is needed, and the difference in how people feel gets smaller.
The framing effect explains things most cleanly when only the wording changes and not a single fact does, such as the same data written as a pass rate or as a fail rate. If the facts behind the wording change too, that's a different matter: a set meal that throws in an extra dessert has changed its price, not its wording. In real life, wording also carries information. When a shop assistant says "there aren't many of these left", she's telling you it sells well, and you have good reason to change your mind. Counting every rise in sales after a new name or new copy as the framing effect is taking it too far.