attachment

Why are we so attached to our loved ones? So that their demise or parting off leaves a vacuum in our life?
Can we not live in reality, knowing nothing is permanent? Can we not be rational and live a life without attaching ourselves to someone or something? Can we not live in a moment and giving best efforts and making it count? Why do we have to live in such pain?

Are we humans born to live a miserable life because of attachment?