These two clubs are very different in that Real Madrid has been the only most successful club in La Liga and the world for a long time while Girona has only performed slightly better this season. But even so, they lost their balance and in the end gave up the top position of the standings to Real Madrid because they experienced consecutive defeats in several previous matches. Girona's performance has actually decreased compared to the start of the season until several matches made them top of the standings.
They lost twice to Real Madrid at home and away and most recently also suffered defeat against Athletic Club and several draws made their position drop to second place. If calculated overall, Girona's performance has not declined much, but they are competing with clubs that are much stronger so mistakes could put them at a disadvantage.
The mentality affected Girona so that they experienced a slight decline in performance in the previous few weeks, this is quite natural for a small team like Girona who is trying to compete with Real Madrid at the top of the standings, of course this team's mentality has been shaken.
Girona is also a surprise team this season, so it's normal if they can't make a surprise until the end of the season.
The competition between these two teams seems unfair because they both have very large differences in team quality, so they are not comparable so there is no fierce competition.
In La Liga, only Barceona and Atletico Madrid are able to compete with Real Madrid and when these two teams are down this season, Real Madrid will easily be at the top of the standings.