Dear Emaa,
Dear Marcus,
Thank you for your reply.
I think I discovered the reason.
There is auto-save settings in the quiz for the site admin to set.
It was set to 5 minutes. Now I changed to 1 minute and it saves the answers even if the student didn't move to the next page.
Thank you for your participation.
Salim