Text this: The Stellar Bar–Dark Matter Halo Connection in the TNG50 Simulations