Your cultural background: Different cultural groups deal with grief in different ways, including how you express your grief through rituals and ceremonies, and different rules around what is considered respectful.
Your age: Younger children may not understand that the person isn’t coming back, or why. When you’re older, you understand that the person is gone forever, but you may still find it difficult to take this fact on board.