Because people have a fear of death so they create stories to fulfill the notion that they'll see their loved ones again...just not right now.
The cherry on top is that they sell you on the notion that heaven is only for good people who do good things.