My friend was housing two rubber boas together and the same thing happened. And from what I have read (correct me if I'm wrong), they supposedly like to curl up and bask together. So I guess you are always taking a chance when housing two snakes together, regardless of the species.