People talk about sex like it should have one meaning.
In real life, it can be pleasure, bonding, exploration, comfort, avoidance, reassurance, or love. Confusion starts when two people are having the same experience for different reasons and nobody says it.