No, it's related biologically. The two are treated as different nowadays (sex and love) but they are really just different expressions of the same basic functions, although humans, being a social animal, take it a bit further. This is also seen in other social animals such as wolves and dolphins. Affection helps keep the group surviving, because they care about each other, therefore it is selective for group members to care about other group members.