Tar usually resists liquid water, but moisture can still affect its bond, its surface, and the material underneath it.
Tar is water-repellent, so moisture does not simply dissolve it. Rain tends to run from a sound tarred surface. That is one of the main reasons tar was used on wood, rope, boats, and outdoor structures.
The problem is not usually the tar dissolving. The problem is moisture finding a path around or beneath it. Cracks, joints, bare end grain, trapped damp, condensation, and old lifted edges can all let water reach the underlying material.
Once moisture is underneath, tar can become part of the problem. It may slow drying by covering the surface, leaving damp material in a hidden pocket. On timber, that can raise the risk of decay if the construction cannot dry between wet periods.
Tar responds best to moisture when it is used on a surface that can drain and dry. It is a water-shedding finish, not a cure for bad ventilation, standing water, or permanently damp construction.