On the origin of nuclear superfluidity