Can an infrared thermometer measure temperature through water?

No. An infrared thermometer will only measure the surface temperature of the water, not the object’s temperature.