We know that encouragement causes studying hard. encouragement and studying hard causes high exam score.
Would the student has a low exam score if discouragement instead of encouragement?
This example is no.