Maybe Tony has a special interest in Harley in the fanfiction. His focus is completely drawn to Harley, so he ends up ignoring Peter. It could be that Harley has some unique qualities or abilities that Tony finds more appealing at the moment.
Maybe Tony has to focus more on Morgan's needs at that moment and doesn't have enough time for Peter.
Well, it could be that Tony is focused on protecting Morgan and sees Peter as capable of handling himself, which leads to him ignoring Peter. And Peter might get hurt in a dangerous situation that he wasn't fully prepared for.
Maybe Peter sees Harley having something he desires in the fanfiction, like more popularity or a closer relationship with a certain character.
Peter may try to get Tony's attention back. He could show off his own skills or achievements in an attempt to remind Tony of his value. For example, he might go on a solo mission and do an amazing job, hoping that Tony will notice him again.
One reason could be pride. Tony might see Peter as a sort of protégé, and just like a teacher or mentor is proud of their student's achievements, he brags. He's invested time and energy into Peter, and when Peter does well, it reflects well on Tony too.
It could be that Tony is there to check out the school's science facilities. He might be interested in funding some new projects or upgrading the existing ones. Since Peter is his protege, he wants to make sure that the school provides a good environment for Peter to grow his scientific knowledge. Also, he may be scouting for new talent among the students. He knows that young minds can come up with fresh and innovative ideas, and Peter's school could be a great place to find the next generation of inventors and scientists.
Another reason could be related to Peter's mistakes. He may make errors during a mission that put the whole team or the city at risk. Tony, who has a lot of responsibility on his shoulders, might yell at Peter as a way to make him understand the seriousness of his actions and to prevent future mistakes.
Maybe he's too busy with his own adventures in the original story world. He has quests to go on, friends to save, and monsters to fight. Fanfiction might seem like a distraction from his real 'job' in the Percy Jackson universe.
At first, it's a bit rocky. Peter is used to being on his own, and Tony has his own way of doing things. But as they spend more time together, they find common ground. Tony helps Peter with his schoolwork, especially in science - related subjects. Peter, in turn, shows Tony the importance of having a pure heart in the superhero world. They go through challenges together, like fighting villains side by side, which deepens their bond.
One reason could be that Tony is trying to protect Peter. He might think that by being harsh and making Peter cry, he can keep Peter away from a dangerous situation. For instance, if there's a really tough mission coming up, Tony might push Peter away by being cruel so that Peter doesn't get involved.