Background- this is a sub panel to power a Koi Pond pump. Have fun!
Yes that is a mess. Someone tapped the existing feeder to feed the two switches then somehow fed a load. Looks like they’re using the green conductor as a neutral. I like the plumbing fittings and the zip cord.