Pace and distance not showing on Garmin Fenix 6 while on a treadmill

My watch just started not showing a pace while running on a treadmill, it works sometimes.  I have calibrated the accelerometer twice.

I will do a run/jog on a treadmill and go for 10 to 15 minutes and the distance is zero because the pace does not register.  I have reset the watch to factory settings and all other settings seem to work fine but on a treadmill.

Any suggestions?