There are many factors that effect the longevity of a lithium ion battery.
- Running a battery harder reduces its longevity. Specifically, lithium ion batteries last much longer if not charged to their maximum voltage. The tradeoff is a reduction in capacity.

A device which must be extremely compact might use a greater percentage of it's battery on a regular basis. This has a double hit on longevity, as a larger fraction of a cycle is used every day, and because the battery likely will need to be charged to a higher voltage (to maximize capacity), therefore the number of cycles it can withsand will also be decreased.
Modern devices like smartphones and EVs actively manage the battery charge level to reduce wear Here's a quote from apple:
With iOS 13 and later, Optimized Battery Charging is designed to reduce the wear on your battery and improve its lifespan by reducing the time your iPhone spends fully charged. When the feature is enabled, your iPhone will delay charging past 80% in certain situations. Your iPhone uses on-device machine learning to learn your daily charging routine so that Optimized Battery Charging activates only when your iPhone predicts it will be connected to a charger for an extended period of time. The algorithm aims to ensure that your iPhone is still fully charged when unplugged.
- Even with the same chemistries, battery cells can be constructed differently. With lead acid for example, you can make the plates thicker to improve the longevity of the battery, or thinner and more numerous to increase the current capacity (cold cranking amps). I don't know about lithium ion batteries specifically in this regard, but I assume there are similar design tradeoffs.