The rule is that where an event (1) unexpected at the time of contracting, (2) makes the performance of an obligation lose its essential point, the obligation is discharged unless (3) the obligated party ought to bear the risk of the occurrence of the event.