Several theories. Some say it retains scent markers that were useful in some way. Others suggest it works as a dry lubricant. Both have elements of truthiness. But really, you should be asking "Why hasn't underarm hair been selected against, evolutionarily-speaking?"