I think it's because you let your battery run low, in the screenshot you're down to 5%.
I've had my iPhone X since a week after launch, it's gone through just over 200 charge cycles and is still reported as 100% health. I stick in on charge whenever I can and I don't think it's ever been below 40%.