It occurs when the bulbus glandis, an organ in the male dog, swells inside the female reproductive tract. The organ can swell up to three times in width, causing the dogs to get stuck together. This is why if you witness two dogs mating, you might notice them stay together, butt to butt, for a while.