Despite being an illustration for the Survivor Shy fanfic, this picture is outside of the fic's timeline, and simply stands on its own as a bit of friendshipping and comforting.
Within the context of the fanfic, this scene takes place after the episode "Applebuck Season", and is a short flashback to when Fluttershy learnt everything about AJ's parents — and the task AJ felt obligated to complete on behalf of her late mother and father.