“Precious in the sight of the LORD is the death of his saints.” ~ Psalm 116:15
We must never think that God treats the death of one of His own casually. Jesus wept at the loss of Lazarus, just before raising him from death (John 11:30-45).
Likewise, God cares about the hurt/loss that we feel when we lose someone we love… even though He has called them home. As the psalm says, joy does come in the morning (Psalm 30:5b); but till then, God promises to be with us while we weep (Isaiah 43:1-2).