Perturbations of black holes surrounded by anisotropic matter field