Research suggests we are subconsciously drawn to the body odours of people who have different Major Histocompatibility Complex (MHC) genes than our own—a biological trick to ensure healthy, genetically diverse offspring. -- google et al
In short, there is a biological basis for interest in those sweaty pits, at the strategic level of survival.