Having never read any of the novels, I bet that was some other spider they first encountered, who attacked the party, the party defeated, and then continued on to attacking all other spiders they encountered.
that flashback looks a bit different than previous chapters though, so i guess they encountered some spider first which had gotten them agitated so they also attacked our MC later. i hope we'll see our MC leave the labyrinth soon.