One possible reason for Ash getting betrayed in the fanfiction could be misinformation. A villain might spread false rumors about Ash, making his friends believe he has done something wrong. His friends, without verifying the truth, turn against him. It's a sad situation where lack of communication and trust plays a big role.
The story could end with Ash forgiving everyone. Despite the betrayal, he realizes that his friends were misled or acting out of weakness. So he takes them back and they all learn from the experience, growing stronger together.
Well, often in such a 'ash gets betrayed fanfiction', the story might start with a seemingly normal day for Ash. Then, out of the blue, someone he trusts deeply, like Pikachu or one of his human friends, does something that he perceives as a betrayal. This could be something as simple as not believing in him during a crucial battle or siding with an enemy for a reason that's not clear to Ash at first. It can create a lot of emotional turmoil for Ash and make for a very engaging read.
He might be initially shocked. Ash has always been surrounded by friends and supporters, so suddenly being betrayed by everyone would be a huge blow. He could be in disbelief for a while.
A plotline might involve Ash being betrayed by a new acquaintance he meets on his journey. This person could pretend to be his friend, gain his trust, and then use that trust to steal his Pokémon or important items. Or perhaps Ash is betrayed by a Pokémon he just caught. The Pokémon could have been planted by an enemy trainer to spy on Ash and then turn on him at a crucial moment.
Another possibility is that there is some kind of dark influence at work. A powerful and malevolent force could be manipulating people's minds to turn them against Ash. This force might see Ash as a threat and use this underhanded method to get rid of him, causing his world to crumble as he is betrayed by all.
It could be a jealous rival. This rival might have always been envious of Percy's popularity and skills. So, they manipulate Percy's friends into betraying him to get Percy out of the way and take over his position.
One possible plotline could be that Percy discovers his so - called friends have been secretly working against him all along. Maybe they spread false rumors about him, which makes everyone in his world turn against him. He then has to go on a journey alone to clear his name.
One way this could develop is if Naruto's identity as the Jinchuriki of the Nine - Tails is fully exploited against him. People might fear his power and turn on him. For example, the village elders could spread false rumors about him losing control of the Nine - Tails, causing the villagers to shun him. Another possibility is that a powerful enemy uses mind - control or deception to make those close to Naruto, like Sakura or Kakashi, turn against him. This would be a huge blow to Naruto as he values his relationships deeply.