Ferrets have a musky odor due to their scent glands, which are located near their anus. These glands produce a musky scent that is used for communication and marking territory. This natural scent is a characteristic of ferrets and is more prominent in unneutered males. Regular grooming and cleaning their environment can help reduce the intensity of the odor.