By default an archive page will list all posts for that particular post type, no matter if the post is a first level post, a second level post (child), etc.

If you want your archive page to only show the first level posts (parents) you can use the below modified loop code: