This can happen due to a bunch of reasons, which can be easily identified. You could have toned your hair after bleaching, used an ashy dye or a toning shampoo, or your hair is naturally prone to soaking gray pigments from chemical solutions applied to it.