Necessary.
10. a2a4 This move is played in most games. This is understandable, since after 10.Ne5 (the engine's first choice), Black has compensation, at least to human eyes. 10... c8a6  11. f3g5 Harikrishn follows his previous experience. 11... f6d5 This is absolutely forced. 12. d2e4 