Refraction is the change in the direction of light due to the change in the medium’s refractive index traveled by the light. It is convenient to use water in a demonstration of refraction. But water alone is not the cause of refraction.
Flat-Earthers falsely claim that just because our atmosphere has water vapor in it, it will produce the same effect as any demonstration of refraction involving water. In reality, it requires far more reasoning than just that water is involved.