After their third crucial defeat in the span of just 2 weeks, Barcelona are somehow holding on to 3rd place in the La Liga table. While coach Xavi had the confidence of the board, surprisingly, he made the decision to leave the club.
After pulling the club from the ruins, helping them win La Liga and Supercopa de España, Xavi had decided to leave Barcelona. Even so, a number of factors became the key to the downfall of the great Xavi Hernandez.

Xavi joined Barcelona back in 2021 to pull it up from the ruins. The Catalan club was lingering in the 9th place under Ronald Koeman when Xavi took over. His contributions showed instant changes to the team's performance.
Even so, under his tutelage, Barcelona ended the season in 3rd place in the La Liga table. Even though he failed to improve their position in the Champions League, Xavi helped them win the La Liga title for the first time in 4 years.
However, it has not gone well for Xavi and Co. this season. The 35-year-old Lewandowski, who won the Pichichi last season, seems to be out-of-form for the longest time now. On top of that, since the season started, they have suffered a large number of injuries.
These have been in the midst of unresolved financial issues that Barcelona have been suffering for a few years now. They are having to rely on free transfers during every transfer window. In the meantime, they're losing out on good players.
This has been the story for a few years, but it seems, everything caught up to Xavi this season. As a result, he has also been facing a lot of criticism regarding his messy tactic following the absence of key players due to injuries.
He is struggling with playing a consistent form of game with an effective lineup. Additionally, his closest supporters at the management were director of football Mateu Alemany and sporting director Jordi Cruyff and both have left the club.