Please follow the below to resolve this
First you can check your back-end configuration for Advanced Inventory.
Only X left threshold is depends on quantity which apply in this Advanced Inventory. Positive ,Negative and Zero value.
Here explain for Inventory : https://magenticians.com/magento-2-inventory-management/
For Configurable Product it depends on their simple product.
Let me know if any issues
If my answer is useful, please Accept as Solution & give Kudos
Thank you
Aims Infosoft