2 HOT wires together from the same breaker source
You could be seeing a false indication from the NCVT. It happens. Re-check with a volt meter, or try powering the light fixture from just one cable and then from just the other cable. If you find that this light, and perhaps others too, remains off when it's connected to a particular cable that's a good sign that the cable isn't truly powered.