oh what I thought was two supply lines is actually the lines to the bulb sockets. Just never seen romex used for that. It's the wrong kind of wire for that purpose because it's not made to be flexible and bent all the time when you move things around romex is only suitable for in wall installed and left alone type stuff.
Should be flexible cables there like extension cord wire etc.
Oh well you'll figure it out, it's something simple.
And someone said it looks like a fire hazard... No, things like this only become a fire hazard when installed wrong near or on flammable materials. There's nothing in a ballast that can catch fire, worst thing they can do is overheat and short out and trip a breaker when PROPERLY installed. No fire there.