6.gxf3 would be better, although after 6...a4 White is also suffering, but now he loses on the spot.
Initiating a series of exchanges that will facilitate the advance of the passed pawn.
Black's clever knight regrouping has enabled the idea of a central break with ...e5-e4.
With a strong initiative thanks to the excellent knights. In contrast, the passed pawn on d5 has completely lost its potential.