Sure, I can explain. Your flight will still need to pass immigration and customs controls. It just so happens that NAS is an airport where the US operates a pre-departure inspection facility. Thus, you will go through US immigration and customs before you leave Nassau. This allows your flight to land in the US at a domestic gate, which allows you to book a shorter connection than you would normally need after an international flight.