This was answered a few years ago by studying lice. You see, apes only have one species of lice, but humans have two: The hair louse, and the body louse. The body louse cannot live in human head hair, and needs clothing to survive. Scientists think at one time these two different species were one, but split when humans started wearing clothing.
Study of lice DNA shows humans first wore clothes 170,000 years ago