How did people's liking of ceremonies evolve?
Perhaps customs (and culture as a whole) arises to some extent as a result of relationships between individuals of the same species. For example, I think a good example of a custom is how elephants bury their dead. This does not benefit the surviving elephants in any noticeable way, and is a "waste" of energy and time. If customs do arise because of a group dynamic, then there is clear evidence supporting that social behavior in higher organisms (chimpanzees, dolphins, etc.) does increase fitness. 

However, this speculation is based upon the idea that customs are a natural result of social interaction. As to why these customs arise, perhaps it is because it enforces the group dynamic over the participating individuals.