Real Madrid is a big club and they want to win La Liga as well as Champions League. They did not focus on Champions League only and sacrificed La Liga at the season start or before World Cup ending. I don't know what actually happened in Real Madrid after World Cup 2022 but their performance in La Liga dropped a lot since January, after World Cup ending. Perhaps their players were tired and lacked of focus on La Liga. They lost many points because they could not score winning goals.
Gradually they fell more behind Barcelona till a time they had to decide to only focus on Champions League but it is not their initial plan.
I like Real Madrid and I am observing. There are some issues that I am aware of from my observations.
1. They didn't have a good transfer this season.
2. The aging players.
3. Not having substitutes who have the same quality.
4. The departure of players who do not yet have a replacement.
5. Some major players are often injured.
So if they want to succeed this season, they need to have good transfers to stay competitive in La Liga and Europe. Relying on the current players, I believe Madrid will fail next season.