If a small tube (capillary tube) is dipped into the water, the water level rises. Which means someone is doing work on the water to rise it against gravity. My question is, who is doing this work? My guess is the internal energy of the molecules is doing the work. That also means that temperature decreases slightly when rising the water. Is this the case?