If you can’t look at it under any other light than the logical, maybe instead consider how interesting it is that humans can feel powerful sentimentality towards inanimate objects... to the extent that they feel compelled to act in irrational ways. You can find varying rituals like this across almost all cultures.