If so, that was inappropriate. Her job was to give you the advice and let you draw your own conclusions. It is not the agent's fault that your life changed and you needed to sell the home. What you should have done was ask her up front if she could sell the house for what you were paying within a year of sale. Probably, because you would not have expected your life to change.
Markets change rapidly, sometimes week to week.
And what's hot one week might not be the next. Unfortunately, you appear to have gotten caught in the crosswinds. Finally, it is difficult to know what went on with your appraisal. If you got a loan to buy the house, the bank sent an appraiser to set a value on the property. Some appraisers work hard to develop their own price research about a property.