The science of how cats form relationships