I agree with danpik. The photo seems clear that the two sets of wires at the pool junction box are both solid conductor wire. The cord from the light will be stranded so it is very flexible. So, again as danpik states somewhere between the light niche and the junction box someone has made an illegal splice.
I would advise two things-
* Turn the breaker off to that circuit and do not use it until the splice can be located and corrected.
* Hire an electrician versed in pool electrical work. It is a unique sub-set of electrical skills because of the unique situation of water and electricity being close together (like the flooded conduit).
While it appears you do have an understanding of normal electrical circuits, when you add in the need to understand grounding, bonding and making sure everything in/around the pool is at the same potential you really need specialized knowledge.
I would advise two things-
* Turn the breaker off to that circuit and do not use it until the splice can be located and corrected.
* Hire an electrician versed in pool electrical work. It is a unique sub-set of electrical skills because of the unique situation of water and electricity being close together (like the flooded conduit).
While it appears you do have an understanding of normal electrical circuits, when you add in the need to understand grounding, bonding and making sure everything in/around the pool is at the same potential you really need specialized knowledge.