I can only guess:
Probably some vehicle control unit (multimedia/dashboard) thought it had to stay powered on. Door is not fully closed - driver might want to enter the vehicle again any minute and start driving again. better keep the infotainment/vehicle computer in an alive state so the driver experience is not interrupted by a booting system once he re-enters.