there is actually a scientific reason for this.
People emit pheromones based on their genetics, and those are released in sweat.
people are attracted to pheromones that signal for high genetic compatibility, thus those who you find attractive will have nice smelling sweat.