The best explanation for why the subjunctive mood is used is: There are times when you do not know how a situation will turn out.
The subjunctive mood often expresses uncertainty, hypotheticals, wishes, desires, or conditions contrary to fact, which aligns with situations where the outcome is uncertain or not guaranteed.