Yes, it is attachment/craving... it sounds like you already know the answer to your question!
Nonetheless, here's some thoughts from Ajahn Sumedho that put it in very personable terms...
Q: What advice would you give to somebody who has suffered a sudden calamity?
A: To really accept he way it is; that is, to bring it to consciousness rather than to push it aside, or to just indulge in emotion, or to resist it. To just notice and accept that this is the way it s, and to bear the feeling of sorrow, or sadness that's there. Then you'll be able to let it go - which doesn't mean it will go when you want it to, but it means that you'll not be making any problems about it.
Life is like that. All of us, all human beings, experience the loss of someone they love. It's just part of our human condition, and human beings have always experienced that. We have to watch our parents die. Maybe we have to experience the death of a child, or someone who dies prematurely - a good friend who is in an accident. Sometime we have to accept horrendous things in life.
But then when we are mindful we have already accepted all possibilities one still feels the anguish, but, one can accept that feeling. That has its own peacefulness too; the experience of life has a sad quality to it. Every morning the monks and nuns chant: 'All that is mine, beloved and pleasing, will become otherwise...' You think: 'What a horrible thing to say.' But it's a reflection that what we love, what pleases us, is going to change. We suffer when we think it shouldn't and we don't want any changes. But in the mind that's open to life, it's often in the times when we suffer a lot that we grow a lot to.
People that have had life too easy sometimes never grow up; they just become kind of spoilt and complacent. It's where you've had to really look and accept thingsthat are painful that you find yourself growing in wisdom and maturing as a person.
I was invited to give talks to people with AIDS in the San Francisco area in California. Of course that is a very traumatic disease, and has all kinds of ugly things connected to it. It's like having leprosy; having your immunity system pack up is probably one of the most miserable things that can happen to a human being. So there is the tendence to take it all personally, with bitterness and resentment, or with a tremendous guilt and shame and remorse - because the homosexual communities are mainly the ones that have it. There is often self-hatred and guilt connected to it.
But yet, this very thing could be seen as an awakening. You could determine it as 'God's justice', punishing you for living an immoral life - that's one interpretation. Or you can feel just terribly mistreated, and life has given you a pretty bad lot to handle and that you hate God because he gave you this terrible thing. You've always felt like a misfit or whatever. You can shake your fist at the heavens and curse them. You can just involve yourself in self-pity and blame. Or you can look at it as a chance for awakening to life, and to really look and understand.
When you know you're going to die, sometimes that can make the quality of the remainder of your life increase considerably. If you know you are going to die in 6 months, then that's 6 months. If you have any wisdom a all you're not going to go around wasting 6 months on frivolities, where you might, if you're perfectly healthy, think: 'I've got years yet ahead of me. No point in meditating right now because I can do that when I'm older. Right now I'm going to have good time'. But if you know you're going to die in 6 months ... in one way that can be a very painful realisation, but also it can be what awakens you to life. That's the important thing, the awakening and the willingness to learn from life, no matter what you've done or what's happened. Every one of us has this ever present possibility for awakening, no matter what we may have done.
I see our life in this form as a human being more as a kind of transition. We don't really belong here. This is not our real home. We're never going to be content with being human beings. But it's not to be despised either and rejected, but it is being awakened to and understood. You can say you've not wasted your life if you awaken to it.
If you live a long life - say 100 years - following foolish ideas and selfishness, then 100 years have been wasted. But if you've awakened tom life - maybe the length of it's not so long but at least you have not wasted it.
Q: How about non-attachment within a relationship?
A: First you must recognise what attachment is, then you let go; then you realise non-attachment. However, if you're coming from the view you shouldn't be attached, then that's still not it; it's not to take a position against attachment s a kind of command, but to observe: What is attachment? Does being attached to things bring happiness or suffering? Then you being to have insight, you being to see what attachment is, and then you can let go.
Continued here.... http://www.forestsangha.org/sumedho23.htm