I have seen that when someone's genitals are itchy after a bacterial or fungal infection, the itchiness can lead to extreme sexual arousal.
From this I feel that some microbes may also play a role behind the release of chemicals and hormones responsible for sexual excitement in the body. However, this requires considerable experimentation and research.