It happens because a section of the erectile tissue at the base of the male dog ... thus getting stuck in the female’s vagina ...