Why does my list stop at 5?

Title: Alternative Code (Need Debug Help)
So I decided to write this code not as a while loop just to see if I could. I came up with this:

all_students = ["Alex", "Briana", "Cheri", "Daniele", "Dora", "Minerva", "Alexa", "Obie", "Arius", "Loki"]
students_in_poetry = []

scount = 0

for student in all_students:
    if scount < 6:
        students_in_poetry.append(all_students[-1])
        all_students.pop()
        scount += 1

print (students_in_poetry)
print (all_students)
print (scount)

It seems to work just fine up until it scount reaches 5. Then for some reason, it stops increasing and the code just stops.
I’m aware that there are more efficient ways of tackling this problem but I’d like to know what causes this code to stop working at 5?
Thanks.

Removing from the list you are looping isn’t a good idea, its waiting for things to go wrong

the most likely cause is that your loop is done, it has looped over the list (due to all the removed items)