This is a long tradition that started centuries ago. Sometimes musicians dress a little more casually, but they still try to look similar, so that the audience can concentrate on the music. Soloists are the exception: they often dress differently, because they are the focus of attention.