Water boils in this type of thing because it is conducting electricity. I think we can assume faulty splice in the case of the pic. Maybe simply made with wirenuts and not approved for underground/underwater use. Faulty, maybe not, improper, definitely.