Of all the things that human beings did together, the sexual act was the one with the most various of reasons.
Very often, in order to bring about stillness we have to be tirelessly active in the outer world. You might suppose this would agitate the mind. It will not, if it is the dharma.