Parrying the threat of 9 Qh5. Thanks to his strong knight and the weak pawns on d4 and g3, Black has a more comfortable game.
This move is not just threatening a rook, but also enabling the tactical idea of e6 and Qf6.
By now the powerful dark square blockade and the exposed black king outweigh the pawn.