Hello @FeliciaChen
Thanks for posting this in the global Canvas Community!
I noticed that no one has replied to this post you made. I wanted to follow up with this for you.
I have typically seen this if a student accessed a quiz late. If I had my availability dates set to allow them to take a quiz until a certain time, they would get kicked out once the specified until date and time is reached. You should be able to look at the quiz log to see when they accessed the exam and determine if they need to get a second attempt on the exam.
One other thing to note is that Quiz availability dates still apply when moderating a quiz. So if you added some extra time or attempts, you would want to assign the student to their own availability dates within the quiz edit screen to permit this.
Hopefully this helps!
-Colton