Oh for goodness sake! It's very simple. Federer only has a losing record against Djokodal because he's older and until he got older he had a winning record against them, unless you count his results against Nadal, where he had a losing record, but we can dismiss those as most where on clay, apart from the ones that were on hard courts where he also had a losing record, but we can dismiss those as Federer was using the wrong racquet, even though that racquet helped him to beat the young Djokovic but we can ignore that because the racquet was more important in the Nadal losses than the Djokovic wins, and anyway, the only reason he kept losing to Djokodal in recent years is because he got older, the proof is in the deterioration of his results against them, if we dismiss the results against Nadal where he started to win when he was older, apart from on clay but we can dismiss clay because it is clay, and anyway none of this matters because endorsements.
Hopefully that's clear now?