Electric vehicles constantly need to perform system checks to remain in optimal condition. This, and a number of other factors, can lead to loss of battery.
Electric cars that are left unused for extended periods may experience reduced battery capacity, but the rate of degradation depends on the model and parking conditions.