Sadness does not only arise from parting with a loved one or pet, but also from failures, setbacks, and the gap between ideals and reality.
However, even a scene from a TV or movie that is a fictional scenario can make us feel sad and bring us to tears.
Emotions of facing reality, emotions of being swayed by a fictional world. The result is the same: feelings of sadness, tears, etc., but in the latter case, the sadness disappears when the scene enters the next scene, and the character is laughing or angry. However, in real life, sadness will not disappear in such a short time.
Solution: Why are you so attached? Write it all in your notebook. Then, do whatever you can to keep yourself focused. You can clean in the room or do laundry, but please refrain from eating or drinking.