Please consider the following current thought on Mercury. As you can see from the picture that many comets have collided with Mercury. Even though it is very hot at the middle latitudes, the poles could possibly have water in the form of ice that are remnants of comets. There is no proof of this yet, but it is a possibility.