A history teacher asked her students how many hours of sleep they had

A history teacher asked her students how many hours of sleep they had the night before a test.the data shows the number of hours the student slept and their score on the exam. Is there causation. Would this information affect your behavior the night before a test.