It could be his immediate superior. If his superior was jealous of Lloyd's intelligence or was under pressure from higher - ups to show some results, he might have used a minor mistake of Lloyd's as an excuse to fire him.
Well, in a fanfiction, SpongeBob could be fired due to a misunderstanding. For example, Mr. Krabs misinterprets something SpongeBob says as a threat to quit. SpongeBob is devastated. He then tries different jobs like being a delivery boy for a seaweed company. However, he misses the Krusty Krab so much. In the end, Mr. Krabs figures out the truth and welcomes SpongeBob back with open arms.
One possible plot could be that due to some false accusations of improper teaching methods, Aizawa gets fired. His students then band together to prove his innocence. They collect evidence of his effective teaching, like how he has helped them improve their quirks and grow as heroes in training. Eventually, they manage to clear his name and he is reinstated.
Well, it could be that Harry discovers some major misdeeds by Fudge. Maybe Fudge has been covering up dark magic activities within the Ministry. Harry then finds evidence and presents it to the proper authorities, leading to Fudge's dismissal.
In such a fanfic, perhaps Harry discovers some long - hidden, damning secret about Dumbledore. Maybe it's related to Dumbledore's past actions with Grindelwald. Harry, being the honest and justice - seeking person he is, feels compelled to expose this secret, which then leads to Dumbledore being fired from his position at Hogwarts.
In this kind of fanfiction, perhaps Harry discovers some serious misdeeds by Snape that lead to his dismissal. For example, Snape might be caught unfairly favoring Slytherin students in a major way, like giving them unearned high marks in exams while unduly punishing Gryffindors. Harry, being the observant and just character he is, would report this to the proper authorities at Hogwarts, which could be Dumbledore or the school board. And this could start the process of Snape getting fired.
Corporate restructuring can also lead to this. A new CEO might come in with a different plan and the existing good bosses might not fit into that new structure. Say a company decides to centralize its operations and a boss who was running an independent unit in a very effective way is no longer needed in the new setup.
Well, it could be that Lloyd made a major mistake in his strategic planning for the Geass-related operations. Maybe he miscalculated something crucial about the enemy's movements or capabilities, which led to a significant setback for his side. And as a result, his superiors decided to fire him.
It could be a new administrator at the school who has a very different vision of how hero training should be conducted. This person might see Aizawa's methods as too old - fashioned or too lax, even though they are actually effective. So, they push for his dismissal.