Feeling disappointment or sorrow for something is called regret.