Especially in Europe, where any delay over 3 hours results in a right to compensation [0]. It's quite usual to swap a technical fault out so then have time to fix it.
Last few flights the poor staff have come from one airport and returned to another country..
0: https://europa.eu/youreurope/citizens/travel/passenger-right...