I don't think AF originally wanted to buy the A380. More likely there was political pressure to buy something made on its home turf as a symbol, so AF made a half-hearted purchase and never really cared about its long-term future.
Covid was an excuse for the AF management to ditch the A380.