The scores she received from work or exams were less than expected. Therefore causing her to be distracted and discouraged from continuing and at times causing her to have thoughts of giving up on what she is doing now.
She achieved lower than expected results in work or exams, distracted her attention, and lost the motivation to continue moving forward. Sometimes there is the idea of giving up on what you are currently doing.
She also got less marks from work or exams than expected, which made her distracted and helpless to continue, and to some extent made her have the idea of giving up what she is doing now.