Answer:
Twist Ending.
Explanation:
Since the question is asking about something that is "unexpected" and "resolves the conflict" (like an ending usually does), the logical answer would be Twist Ending.
Answer:
Sometimes just letting the bad things happen can lead to better things or better times. Hence, the rain being the bad thing, later there might be a rainbow or flowers.