One possible reason could be overexertion. Maybe he was using too much magic outside of class and it drained him. Another reason might be some sort of magical illness or curse that he's been secretly dealing with.
Perhaps it has something to do with his connection to Snape. In some Snarry fan fictions, there are deep emotional and magical bonds between them. If there was some sort of turmoil or disruption in this bond, it could affect Harry physically. For example, if Snape was in danger and Harry was unconsciously sensing it, the emotional distress could cause him to collapse in class. Also, it could be that Harry is not taking proper care of himself because he is so focused on other things, like impressing Snape or living up to his reputation as 'the Chosen One', which could lead to his physical collapse.
In Snarry fan fiction, it could be due to stress. Harry has a lot on his plate, like dealing with Voldemort threats, schoolwork, and his complex relationship with Snape. All these pressures might build up and cause him to collapse in class. Also, there could be a potion mishap. If he was working on a difficult potion in Potions class and made a wrong move, it could have adverse effects on his health and lead to his collapse.
Maybe he was poisoned. There could be someone who slipped a harmful potion ingredient into his cauldron without him noticing. It's a common plot device in fanfics to create drama.
In some Snarry fan fictions, Snape would be very concerned. He would immediately stop the class and rush to Harry's side. He might use his potions knowledge to try and revive Harry or figure out what's wrong. He could also be secretly relieved that he can be close to Harry without raising too many eyebrows. Snape's concern would show through his actions, even if he tried to keep his usual cold exterior. He might carry Harry to the hospital wing himself, not trusting anyone else to take proper care of him.
In some fanfiction scenarios, Peter might be dealing with some sort of internal power struggle. If his spider - powers are evolving or being affected in some way, it could lead to his collapse at school. For instance, if there's a glitch in his powers that causes his body to have sudden energy drains or physical reactions, like collapsing, while he's at school trying to act normal.
It could also be due to physical exhaustion. Caroline might have been overexerting herself in trying to fight against Klaus' enemies or protect her friends. She could have been running on fumes for a while, and when she finally saw Klaus, her body just gave out from sheer fatigue.
One popular 'snarry' fanfic could be 'The Prince's Consort'. It delves into a complex relationship between Snape and Harry, exploring themes of redemption and unexpected love. Another might be 'A Different Path' which takes a unique spin on their interactions post - Hogwarts.
In some Snarry fan fictions, Severus Snape himself might have saved Harry from the stalker. Snape, with his powerful magic and his new - found, albeit complex, feelings for Harry in the Snarry context, could have detected the stalker's presence and used his skills to fend off the threat. He has the knowledge and experience to deal with such dangerous situations, so he might have stepped in to protect Harry when he realized the danger Harry was in.
One common way is through the power of friendship. Harry's friends, like Ron and Hermione, might be vigilant and notice the stalker's actions. They could then use their combined magic and wits to outsmart the stalker and save Harry.
In fanfiction, it could be part of a developing relationship. If the author is exploring a romantic angle between Harry and Hermione, a touch in class could be a subtle way of showing their growing closeness. It could also be a way to show their strong friendship. For example, they might be working on a group project in class and Harry touches Hermione's hand to pass her a needed ingredient or tool, which shows their seamless cooperation and deep bond.
I'm not entirely sure what 'adult collapsing fiction' specifically refers to. It might be a very niche or newly coined term in a particular genre or literary circle.
It could also be that the Potters are under some sort of magical influence or curse. In the fan fiction world, there could be a dark force at play that makes them see the twins as more important. This force might be manipulating their emotions and perception, leading to the neglect of Harry.